Question: Challenge Task 2 of 3 Now create a function named date_string that takes a datetime and returns a string like May 20 using steftime.

Challenge Task 2 of 3 Now create a function named date_string that takes a datetime and returns a string like

Challenge Task 2 of 3 Now create a function named date_string that takes a datetime and returns a string like "May 20" using steftime. The format string is as %d", birthdays.py 1 Import datetime 2 3 birthdays t . Gummer: Try agant 10 ] datetime.datetime(2012, 4, 29), datetime.datetime (2006, 8, 9), datetime.datetime (1978, 5, 16). datetime.datetime(1981, 8, 15), datetime.datetime(2001, 7, 4), datetime.datetime (1999, 17, 30) 11 12 today datetime.datetime.today() 13 today datetime.datetime.today() 14 def is over 13(datetime) 15 16 return today-year 365 datetime.year 365 4745 Restart O Preview Get Help Recheck work

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

It seems you are supposed to create a function named datestring that formats a date as a humanreadab... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!