[백준]B1-10988

py_code·2022년 1월 11일
0

백준-브론즈1

목록 보기
7/7
word = list(input())
length = len(word)
reverse = []

for i in range(length-1, -1, -1):
    reverse.append(word[i])

if word == reverse:
    print(1)
else:
    print(0)
profile
개발자를 꿈꿉니다.

0개의 댓글