I'm having following code, basically:
list = ["gibberish", "1"]
Variable = input()
if Variable is "1":
So, if someone enters 1, they should get a response. This means for me, "1" is exchangeable with list[1] now, so I should get a response from following code:
list = ["gibberish", "1"]
Variable = input()
if Variable is list[1]:
But instead, the condition is not fulfilled, I do not get any response. Neither by using "list[1]" nor str(list[1]), which normally appears to me as utter nonsense, but I tried anyway out of desperation. What am I doing wrong? Is the whole list or "" wimey stuff playing tricks on me? I'm thankful for every answer.