0

I am writing a program that responds to user input by keyword and I'm early into development. I want to take user input not as a string or integer but as just plain python and to be able to spit that back out. here's the line that i have for input:

    userword=input("->")
    print("userword")

Say the user input is "blue". blue is a variable that is blue=function[3] (function being a list). How can I take the user saying blue as the variable blue not as a string "blue"?

0 Answers0