Python/백준

백준 - 10988 펠린드롬인지 확인하기

sophia02 2022. 10. 1. 19:56
word = list(input())
if word == word[::-1]:
    print(1)
else:
    print(0)