본문 바로가기

Computer Science/알고리즘

[백준 알고리즘] 1330번 Python 두 수 비교하기

반응형

해당 글은 Python으로 백준 알고리즘 1330번 문제를 풀고 성공한 코드이다.

(https://www.acmicpc.net/problem/1330)

1330번 문제

a,b = map(int, input().split())

if a<b: print("<")
elif a>b: print(">")
else: print("==")
반응형


Calendar
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Visits
Today
Yesterday