문익호의 화분

2753번 : 윤년 (Python3) 본문

무니코딩/백준

2753번 : 윤년 (Python3)

moonico 2022. 3. 4. 11:16

y=int(input())
if y%4==0 and y%100!=0 or y%400==0 :
    print("1")
else :
    print("0")
Comments