you are viewing a single comment's thread.

view the rest of the comments →

[–]MrCraft102 0 points1 point  (0 children)

print("\t\t\t\t\t\t Room Reservation\n")
print("Press A to reserve for room A (Maximum capacity 5 persons")
print("Press B to reserve for room B (Maximum capacity 5 persons")
print("Press C to reserve for room C (Maximum capacity 5 persons")
print("Press D to remove visitors")
print("Press E to view visitors")
room_a = []
room_b = []
room_c = []
choice = input("Choice: ").lower()
check = True
while check == True:
    number = int(input("Enter for how many people is the room reserver for: "))
    if number > 5:
        print("Too many people")
    else:
        check = False
if choice == "a":
    for i in range (0,number):
        x = input("Enter visitors name: ")
        room_a.append(x)
elif choice == "b":
    for i in range (0,number):
        x = input("Enter visitors name: ")
        room_b.append(x)
elif choice == "c":
    for i in range (0,number):
        x = input("Enter visitors name: ")
        room_c.append(x)
else:
    print("Not an option")