Professional Documents
Culture Documents
Project Oop
Project Oop
Project Oop
class Game:
def __init__(self, game_id, game_name, available_seats):
self.game_id = game_id
self.game_name = game_name
self.available_seats = available_seats
class TicketBookingSystem:
def __init__(self):
self.customers = {}
self.games = {}
booking_system = TicketBookingSystem()
customer1 = Customer("Abbas", "4684690032")
customer2 = Customer("mohammed", "9876543210")
customer3=Customer("ezzaldin","077418911")
booking_system.add_customer(customer1)
booking_system.add_customer(customer2)
booking_system.add_customer(customer3)