2
I need to get you to print the August days number on the list, but without using the:
def how_many_days(month_number):
"""Returns the number of days in a month.
WARNING: This function doesn't account for leap years!
"""
days_in_month = [31,28,31,30,31,30,31,31,30,31,30,31]
#todo: return the correct value
# This test case should print 31, the number of days in the eighth month, August
print(how_many_days(8))
It worked perfectly Jose... thank you.
– Márcio Feitosa