Ask a New Question
Search
Questions and answers by
FR
Answers (2)
I have this code. Is it correct? floors=int(input("Enter number of floors in the hotel: ")) if floors>0: s=0 total_rooms=[] total_occupied=[] for i in range(0,floors): while(True): rooms=int(input("Enter number of rooms on the floor: ")) if rooms rooms:
D i took the test:)