#drop user into a shell print("enter one of the following commands: list, toggle, change date, view") line = input(": ") while line != "close": if line == "list": print("you said to list :)") elif line == "toggle": print("You said toggle :(") elif line == "change date": print("CHANGE DATEEE") elif line == "view": print("look at me (view)") else: print("Invalid command :(") line = input(": ") print("byee(closing file)")