How can I check in Python 3 that a string contains only characters/symbols from a given list?
Given:
allowedSymbols = [\'b\', \'c\', \'z\', \'
I am not a python expert, but something below will work
for c in enteredpass: if c not in allowedSymbols: return 0