← Back to List
1259번: 팰린드롬수 ↗
Solutions
Python 3
111 B | 111 chars
while True: s = input() if s == '0': break if s == s[::-1]: print('yes') else: print('no')