class Order: def __init__(self, id, pick_up, date, cost, games = []): self.id = id self.pick_up = pick_up self.date = str(date)[:-7] self.cost = cost self.games = games def __str__(self): return f"{self.pick_up}\n{self.date}\n{self.cost}"