userInput = input("which action?")

menu = ["run", "create", "index"]

def actionReturn():
    print(userInput)


def actionMenu(menuSel):
    print(menu[menuSel])


actionReturn()
actionMenu(1)

menuSel = input("which item from menu?")

actionMenu(int(menuSel))