Skip to main content

How to handle symbols in Python?

How can I regroup all the symbols like "!@#$%^&*()_+[]{}'\"|./?><" and use them, if the variable contains the symbols it will return False?

I'm trying to create a code for the password, and if the password contains only symbols like "!@#$%^&*()_+[]{}'\"|./?><", return False.



source https://stackoverflow.com/questions/74416689/how-to-handle-symbols-in-python

Comments