Hi I am fairly new to python. I want to do a seating reservation program containing 32 seats so the users can reserve seats and unreserve seats. I know I need a class that sort of contains the seats, but I dont know how to make it....
I have made a menu so that the user can choose to reserve seats and unreserve seats.
the seats should be looking similar like below and when someone reserves a seat it will be marked with *. example like this: *17*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
I also want this to be saved into a text file, so it's impossible to double book seats,
can anyone help me?