I am wanting to create a CLI that will accept input from the user and run commands based on what they input.
def apple():
    print("Apple")
def orange():
    print("Orange")
def grape():
    print("Grape")
userinput = input("Which function do you want to run? ")
userinput()  
What I am trying to get to work is, when the user enters "Orange" it will print Orange. Same for apple and grape. My real project will incorporate a lot more functions the user can input but this is the part I am stuck on at the moment.
 
     
    