I’m currently taking AP CSCI P and my teacher uses Snap!. I’ve been fooling around with the Editor and I’m struggling badly to make a program, that’s part of an account sign-up/login system, where the user will input a user, and it will be checked to make sure it doesn’t have any forbidden characters in it (ie,!"#$%…).
Here is what I have so far:
I tried to use an or instead of doing each individual character, but I couldn’t get that to work either.
I managed to get a login-system to work, but only with a preset user and pass:
Please tell me what I’m doing wrong (
), and how I could possibly optimize this so it’s not like 40 ifelses.






, you are checking if each character in the special characters list is equal to the list above, which is not what you want to happen. What you want is to detect if 
