본문 바로가기
python-algorithm

[백준] 1259

by 무적김두칠 2021. 1. 20.

1
2
3
4
5
6
while 1:
    s=input()
    if s=='0': break
    else:
        if s==s[::-1]: print('yes')
        elseprint('no')
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 1312  (0) 2021.01.20
[백준] 1296  (0) 2021.01.20
[백준] 1252  (0) 2021.01.20
[백준] 1236  (0) 2021.01.20
[백준] 1032  (0) 2021.01.20

댓글