Question: L05_ Question 9 LOS-9) Write a function formatl.ongDate that will accept a date in the form mm/dd/yy as a string argument. Your program should take
LOS-9) Write a function formatl.ongDate that will accept a date in the form mm/dd/yy as a string argument. Your program should take the string apart (hint: use an appropriate string function) into month day and year variables. Return the date in the long format (e.g. 09/30/05 would be output as September 30, 2005), You may assume all years yy are in the 21" century. For instance: >>> formatlong Date("09/05/99) September 5, 2099
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
