0
Hello,
I am in need of help for an exercise in Python which is as follows:
Exercise School year
• Write a program that asks for the name and date (year, month and day) of birth of a person.
• The program must also request the current date (year, month and day).
• The school year begins on September 15. Children 6 years old until that day enter the 1st year. Those with 7, are in the 2nd, etc.
• Based on these dates, you should determine the age of the person and indicate the year of schooling you are in.
• Example of output:
What’s your name? Joseph
What year were you born? 2001
What month were you born in? 2
What day were you born? 23
What year is it? 2009
What month is it? 4
What day is it? 9
José is 8 years old and in the 2nd year.
I’m having trouble calculating.
This is the code: code
What have you done so far ? Include the code you have to be easy to help in your real doubt.
– Isac