I know this is very rudimentary, but I am new to programming and this is driving me NUTS.
Can someone tell me why I am getting "30" and not "28" as the answer to this?
def days_in_month(month):
if month == 4 or 6 or 9 or 11:
return 30
else:
if month == 2:
return 28
else:
return 31
print(days_in_month(2))