Agorithm/백준 알고리즘
백준 알고리즘 1259번 팰린드롬수(python)
kimjinho1
2021. 2. 15. 00:09
728x90
반응형
단순 문자열 문제이다.
while 1:
n = input()
if n == '0':
break
print("yes" if n == n[::-1] else "no")
728x90
반응형