MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/Python

#10988 - python

HYEJU01 2024. 4. 19. 06:37
s = input()
re_s = s[::-1]
if s == re_s :
    print(1)
else : 
    print(0)

 

s ์™€  s ๋ฅผ ๊ฑฐ๊พธ๋กœํ•œ ๊ฐ’์ด ๊ฐ™์œผ๋ฉด ํŒฐ๋ฆฐ๋“œ๋กฌ์ด๋ฏ€๋กœ ์กฐ๊ฑด๋ฌธ์„ ์‚ฌ์šฉํ•ด์„œ ์ถœ๋ ฅํ•ด์ฃผ๋ฉด ๋œ๋‹ค!