Scroll indicator done
728x90

https://www.acmicpc.net/problem/1259


while True:
    n = input()
    if n == '0':
        break
    word = n[::-1]
    if n == word:
        print("yes")
    else:
        print("no")

 

728x90

'BAEKJOON > Python' 카테고리의 다른 글

[B2609][최대공약수와 최소공배수][python]  (0) 2021.03.12
[B11050][이항 계수 1][python]  (0) 2021.03.12
[B1700][멀티탭 스케줄링][python]  (0) 2021.03.12
[B1181][단어 정렬][python]  (0) 2021.03.10
[B3052][나머지][python]  (0) 2021.03.10