Question: Python, please Write a program that will ask the user for their name: >, age, and date of birth: . Your program will process the
Python, please

Write a program that will ask the user for their name: >, age, and date of birth: . Your program will process the number of days from the person's date of birth to the current date of the executed program and write those results to a file called: date_report.txt. The output file should look something like this: ago on ." Details regarding dates in python can be found here: https://docs.python.org/2/library/datetime.html\#datetime.date Tip: If you want to access just the days of a date object, use the days data member. But the date has to be cast as a timedelta object first. today = datetime.timedelta() \#default contstructor print(today.days) \#this will print 0, because there haven't been any days since today. \#today is day 0. If you take the difference of two date objects, a timedelta is returned with the difference in days. https://docs.python.org/2/library/datetime.html
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
