[정올] 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")
'Coding_Algorithm > 정올 문제풀이' 카테고리의 다른 글
[정올] Language Coder_선택제어문_형성평가4_code123 (Python) (0) | 2021.02.02 |
---|---|
[정올] Language Coder_선택제어문_자가진단7_code534 (Python) (0) | 2021.02.02 |
[정올] Language Coder_선택제어문_자가진단6_code533(Python) (0) | 2021.01.28 |
[정올] Language Coder_연산자_형성평가5_code115(Python) (0) | 2021.01.28 |
[정올] Language Coder_연산자_자가진단6_code523(Python) (0) | 2021.01.28 |