python users! help! (it actually just the quesion i just ask, but this is what i mean.) if you input a year, a month and a day, it will know how many days (the days and month you inputed) there is already passed from the year you inputed.
Answers
Answered by
0
Explanation:
There should be no space before def days_in_month(month,year). Python use indentation to separate code blocks. This is the error you given in comment.
There is no elseif in python, it should be elif
output.is_leap_year = True, it should be is_leap_year(year) == True. The False part should be changed too.
after if statement and else there should b
Similar questions