# # # def main(): print("This program take the date in the format mm/dd/yyyy and displays it in the other format.") months=["January","February", "March", "April", "May", "June", "July","August","September", "October", "November", "December"] date= input("Plase, input the date in the form mm/dd/yyyy: ") import string month, day, year=date.split("/") print("Month=",month,"day=",day,"year=",year) if (int(month)>0 and int(month)<13): month_name=months[int(month)-1] else : print("the number of the month should be between 1 and 12") print("Today is ",month_name, int(day),", ",year) main()