알고리즘/심화1

백준 10988 python

자코린이 2023. 6. 15. 21:44
input_str = str(input())

reverse_str = input_str[::-1]
print('1' if reverse_str == input_str else '0')

'알고리즘 > 심화1' 카테고리의 다른 글

백준 1316 python  (0) 2023.06.16
백준 4344 python  (0) 2023.06.16
백준 1157 python  (0) 2023.06.15
백준 2444 python  (0) 2023.06.15
백준 3003 python  (0) 2023.06.15