본문 바로가기
python-algorithm

codeforce 112A. Petya and Strings

by 무적김두칠 2022. 4. 28.

1
2
3
4
5
str_1=input().lower()
str_2=input().lower()
if str_1 > str_2 : print(1)
elif str_1 == str_2 : print(0)
else : print(-1)
cs
반응형

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

codeforces 281A. Word Capitalization  (0) 2022.04.28
codeforces 282 A. Bit++  (0) 2022.04.28
codeforce 71A. Way Too Long Words  (0) 2022.04.28
Codeforces A. Watermelon  (0) 2022.04.28
leetcode 1910. Remove All Occurrences of a Substring  (0) 2022.04.26

댓글