def Print (): print ("The Print function was called") return def Copy (): print ("The Copy function was called") return def Cut (): print ("The Cut function was called") return def Paste (): print ("The Paste function was called") return def Main(): Prompt = """ Commands are: quit, print, cut, copy, and paste Enter a Command:""" MoreToDo = True while (MoreToDo): Command = input(Prompt) Command = Command.lower() if (Command == "quit" ): MoreToDo = False elif (Command == "print"): Print () elif (Command == "copy" ): Copy () elif (Command == "cut" ): Cut () elif (Command == "paste"): Paste () elif (Command == "undo" ): pass else: print ("Illegal Command") return