# This client program uses Date objects to figure out # how many days it is until the user's birthday. from Date3 import * def main(): # create three Date objects birthday = Date(9, 19) today = Date(1, 15) today2 = Date(1, 15) today3 = today2 print("1", today == today2) print("2", today2 == today3) # advance each date and print its state count = 0 while today != birthday: today.advance() count += 1 print("Your next birthday is in", count, "days.") main()