[정올] Language Coder_선택제어문_형성평가5_code124 (Python)
두비니
·2021. 2. 2. 17:46
n = int(input())
if n == 2:
print("28")
elif n == 1 or n == 3 or n == 5 or n == 7 or n == 8 or n == 10 or n == 12:
print("31")
else:
print("30")
+) 리스트/튜플로 가져와서 풀어도 전혀 문제X
'Coding_Algorithm > 정올 문제풀이' 카테고리의 다른 글
[정올] Beginner_Coder_도형만들기1_구구단2_code1341 (C) (0) | 2021.02.02 |
---|---|
[정올] Language Coder_반복제어문1_자가진단1_code123 (Python) (0) | 2021.02.02 |
[정올] Language Coder_선택제어문_형성평가4_code123 (Python) (0) | 2021.02.02 |
[정올] Language Coder_선택제어문_자가진단7_code534 (Python) (0) | 2021.02.02 |
[정올] Language Coder_선택제어문_형성평가3_code122(Python) (0) | 2021.01.28 |