Search

40. 백준_Python [10988] 팰린드롬인지 확인하기

word = list(str(input())) if list(reversed(word)) == word: print(1) else: print(0)
Python
복사