BOJ 1259

녹색자몽·2021년 9월 27일
0

Algorithm

목록 보기
73/80
post-thumbnail

팰린드롬 수

while True:
    a = str(input())
    if a == a[::-1] and a != '0':
        print('yes')
    elif a != a[::-1] and a != '0':
        print('no')
    elif a == '0':
        break
    
profile
볕 좋은 날 시작하는 개발일기

0개의 댓글

관련 채용 정보