# A client program that deals with dates. # This version accompanies Date class with methods. from Date import * def main(): # create three Date objects d1 = Date( 9, 19) d2 = Date( 7, 31) d3 = Date(12, 31) # advance each date and print its state d1.advance() print("d1 is", d1.month, "/", d1.day) d2.advance() print("d2 is", d2.month, "/", d2.day) d3.advance() print("d3 is", d3.month, "/", d3.day) main()