I am a beginner in programing and I am trying to assign multiple values to the "contains" variable but I keep getting: "TypeError: 'in ' requires string as left operand, not tuple." Can anybody tell me what this means and how to solve it? Here is the program (tkinter):
def myClick():
password = e.get()
contains = "1", "2"
if contains in password:
myLabel = Label(root, text= "Password Level is Strong")
myLabel.pack()
if any(x in password for x in matches):where matches is['1','2']