⌨️
[AtCoder]ABC-070|A - Palindromic Number
設問ページ
提出結果
def getString():
return input()
def main():
s = getString()
r = s[::-1]
print('Yes' if s == r else 'No')
if __name__ == "__main__":
main()
def getString():
return input()
def main():
s = getString()
r = s[::-1]
print('Yes' if s == r else 'No')
if __name__ == "__main__":
main()
Discussion