[백준] #2908 문자열 뒤집기 python
2022. 12. 22. 13:28
https://www.acmicpc.net/problem/2908
문자열 뒤집기 !
N1, N2 = map(str, input().split())
if int(N1[::-1]) > int(N2[::-1]):
print(N1[::-1])
else:
print(N2[::-1])
'Programming > Algorithm' 카테고리의 다른 글
[백준] #2941 if문으로 예외 처리 python (0) | 2022.12.22 |
---|---|
[백준] #5622 다이얼 python (0) | 2022.12.22 |
[백준] #1152 단어 개수 python (0) | 2022.12.22 |
[백준] #1157 문자열 upper, lower python (0) | 2022.12.22 |
[백준] #11720 문자열 반복 python (0) | 2022.12.22 |