백준 1330번 : 두 수 비교하기 문제
a, b = input().split(' ')
A = int(a)
B = int(b)
if A > B :
print('>')
elif A < B :
print('<')
elif A == B:
print('==')
** int() 해주는거 잊지 말기!
백준 9498번
score = input()
s = int(score)
if 90 <= s <= 100:
print('A')
elif 80 <= s <= 89:
print('B')
elif 70 <= s <= 79:
print('C')
elif 60 <= s <= 69:
print('D')
else:
print('F')
백준 2753 번
year = input()
y = int(year)
if y % 4 == 0 and (y % 100 != 0 or y % 400 == 0):
print(1)
else:
print(0)
백준 14681번
x = input()
y = input()
x = int(x)
y = int(y)
if x > 0 and y > 0:
print(1)
elif x < 0 and y > 0 :
print(2)
elif x < 0 and y < 0 :
print(3)
elif x > 0 and y < 0:
print(4)
백준 2884 번
hour, minute = input().split(' ')
h = int(hour)
m = int(minute)
if (m - 45)<0:
if h == 0:
h = 23
else:
h -= 1
m = 60 + (m-45)
print('%d %d' %(h,m))
else:
print('%d %d'%(h,m-45))