Can anyone check this code and let me know what is wrong?
input_list = [\"One\", \"Two\", \"Three\"]
P1 = input(\"Select the input: \", input_list[0], input_list
Take a look at the documentation of the input
function: https://docs.python.org/2/library/functions.html#input
input
presents a prompt and evaluates the data input by the user as if it were a Python expression. If you just want to gather data input by the user, use raw_input
instead. You'll need to implement custom logic to make sure the user's input matches with something in your list.