출력
10699 : 오늘 날짜
import datetime as dt
print("%d-%02d-%02d" %(dt.datetime.now().year, dt.datetime.now().month, dt.datetime.now().day))
10171 : 고양이
cat = """\\ /\\\\
) ( ')
( / )
\\(__)|"""
print(cat)
입력과 계산
10869 : 사칙연산
a, b = map(int, input().split())
print(a + b)
print(a - b)
print(a * b)
print(a // b)
print(a % b)
11382 : 꼬마 정민
a, b, c = map(int, input().split())
print(a + b + c)
조건
2753 : 윤년
year = int(input())
if (((year % 4 == 0) and (year % 100 != 0)) or (year % 400 == 0)):
print("1")
else:
print("0")
14681 : 사분면 고르기
x = int(input())
y = int(input())
if (x > 0 and y > 0):
print("1")
elif (x > 0 and y < 0):
print("4")
elif (x < 0 and y > 0) :
print("2")
else:
print("3")
2420 : 사파리월드
a, b = map(int, input().split())
print(abs(a - b))