Skip to content
CodeItRaw
Code Reading
/
Days in the Month
Path
Play
Daily
Leaderboard
tr
Break the Code
Days in the Month
Write a number for which this function gives the wrong answer.
1
def
days_in_month
(month):
2
if
month
in
(
4
,
6
,
9
,
11
):
3
return
30
4
return
31