[정올] Language Coder_선택제어문_형성평가3_code122(Python)

두비니

·

2021. 1. 28. 18:02

 

 

 

 

age = int(input())

if age % 400 == 0:
    print("leap year")
elif (age % 4 == 0) and (age % 100 != 0):
    print("leap year")
else:
    print("common year")