#functions
def main_menu():
print('If you want to read the rules select:1, to play the game select:2, to quit select 3.')
branch = int(input('What do you want to do:\n'))
menu = input('Type: main_menu()\n')
while branch == 1:
print('Hello to the rules')
main_menu
while branch == 2:
print(branch)
This will later become a number guessing game, where the function calls up the main menu, any help to call up the function?