For simplicity I'm try to do this.
spam = [1,2,3]
stuff = [spam]
x = input()
if x in stuff:
print(True)
else:
print(False)
As it runs:
>>> spam
False
Of course it doesn't print 'True' because the string 'spam' is not equal to the variable spam.
Is there a simple way of coding that I could check if the input is equal to the variable name? If not simple, anything?