[Tutor] Python user input and return

chandar pass chandarpass at gmail.com
Sat Sep 4 13:31:36 EDT 2021


I am trying to have a user pick an item from a list I have created, and if
it is in the list they get a response, if not they should try again. I am
having a hard time with this one for some reason.  Here is what I have so
far.  all of my "user_choice" gets returned. Any kind of help would be
greatly appreciated. Thanks

user_choice = ("kimura", "wrist lock", "cross choke")
input("What is your second favorite Jits move? :")
print("{} is a sweet submission!".format(user_choice))


More information about the Tutor mailing list