I’m a beginner in programming and I needed help with these line of code… what i’m trying to do is if my input is in the list then I want it to do a certain thing… here is the code
pasw = [‘1234’,‘4321’]
nam = input(‘password :’)
if nam == pasw:
if you see what i’m trying to do can you help me make it accept something in the list?