MCPcopy Create free account
hub / github.com/geekcomputers/Python / exit_menu

Function exit_menu

Hotel-Management.py:305–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303
304
305def exit_menu():
306 print("")
307 print("Do you want to exit the program or return to main menu")
308 print("1-Main Menu")
309 print("2-Exit")
310 print("")
311
312 user_input = int(input("Enter your choice: "))
313 if user_input == 2:
314 exit()
315 elif user_input == 1:
316 menu()
317
318
319try:

Callers 5

addFunction · 0.85
modifyFunction · 0.85
searchFunction · 0.85
removeFunction · 0.85
viewFunction · 0.85

Calls 2

exitFunction · 0.85
menuFunction · 0.85

Tested by

no test coverage detected