Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.
what do you want to achieve? Why do you do all these weird things? If you want to check string is present in list of strings:
See BBcode help for more info.
what do you want to achieve? Why do you do all these weird things? If you want to check string is present in list of strings:
passwords = ['week_pass', 'fEaPzy0M8#2`pHNS'] password = input('Enter password:') if password in passwords: print('Correct password')
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs