# # # 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", "Aoril", "May", "June", "July","August","September", "October", "November", "December"] date= raw_input("Plase, input the date in the form mm/dd/yyyy: ") import string month, day, year=string.split(date, "/") 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, day,", ",year main()