I have a main menu program on python3, with the code below. I want the code to work so that if either 1,2,3,4 it just runs the potential function. However, at the moment this only works for option 4 as it obviously doesn't loop. If I choose any other option, it runs the selected function but then also opts me to select from the main menu again.
def mainmenu ():
    choice = 0
    while choice != 4:
        print()
        print()
        print("Choose from this menu")
        print()
        print("1 - Maze Game")
        print("2 - Guessing Game")
        print("3 - Quiz")
        print("4 - Exit")
        print ()
        choice = input("Enter 1,2,3 or 4")
        if choice == "1":
             mazeGame()
        elif choice == "2":
             numberGuesser()
        elif choice == "3":
             quiz()
        elif choice == "4":
                print ("Thanks for using the program.")
        else:
            print("Please enter 1,2,3 or 4 only")
def mazeGame():
    print("Now running Maze game...")
def numberGuesser():
    print("Now running Guessing game")
def quiz():
    print("Now running quiz")
 
     
     
     
     
    