⌨️
[AtCoder]ABC-339|A - TLD
設問ページ
提出結果
def getString():
return input()
def main():
s = getString()
print(s.split('.')[-1])
if __name__ == "__main__":
main()
def getString():
return input()
def main():
s = getString()
print(s.split('.')[-1])
if __name__ == "__main__":
main()
Discussion