# dateconvert2.py

import string

def main():
    # get the day month and year
    day, month, year = input("Please enter the day, month and year numbers (day, month, year): ")

    date1 = "%02d/%02d/%d" % (month,day,year)

    months = ["January", "February", "March", "April", "May", "June",
              "July", "August", "September", "October", "November", "December"]
    monthStr = months[month-1]
    date2 = "%s %d, %d" % (monthStr, day, year)

    print "The date is", date1, "or", date2+"."

main()

