""" date.py date object - class exercise IntroCS - April 12 2021 Create a MyDate class which (a) stores the month, day, and year (b) has a .short_form() method that returns e.g. "04/12/2021" string (c) has a .long_form() method that returns "April 12 2021" string. """ class MyDate: # implement the MyDate class ... # replace this with your code ! pass def new_date(): """ create and return date from user input """ date_string = input("What is the date (month/day/year) ?") (month, day, year) = date_string.split('/') # make a MyDate object mydate ... # replace this with your code ! mydate = None return mydate def main(): print("-- working with dates -- ") date = new_date() print("The date is ", date.short_form()) print("The date is also ", date.long_form()) if __name__ == '__main__': main()