⌨️
[AtCoder]ABC-367|B - Cut .0
設問ページ
提出結果
def getString():
return input()
def main():
X = getString()
print(X.rstrip("0").rstrip("."))
if __name__ == "__main__":
main()
def getString():
return input()
def main():
X = getString()
print(X.rstrip("0").rstrip("."))
if __name__ == "__main__":
main()
Discussion