1️⃣ 두 수 비교하기

A, B = map(int, input().split())

if (A > B):
	print('>')
elif (A == B):
	print('==')
else:
	print('<')

2️⃣ 시험 성적

score = int(input())

if 100 >= score >= 90:
	print('A')
elif 90 > score >= 80:
	print('B')
elif 80 > score >= 70:
	print('C')
elif 70 > score >= 60:
	print('D')
else:
	print('F')

https://www.bangseongbeom.com/python-switch-case.html

https://docs.python.org/3/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python

3️⃣ 윤년

year = int(input())

if (year%4 == 0) and (year%100 != 0):
	print(1)
elif (year%400 == 0):
	print(1)
else:
	print(0)

4️⃣ 사분면 고르기

x = int(input())
y = int(input())

if x > 0:
	if y > 0:
		print(1)
	else:
		print(4)
else:
	if y > 0:
		print(2)
	else:
		print(3)

5️⃣ 알람 시계