Practice · 1 of 3
Password Validator
CHALLENGE
Difficulty: beginner+25 XP
password = "sunshine" is given (8 chars, no digit). The length check passes; print no digit if the password has no digits at all, else print ok.
Press Submit to check your solution.
Back to lesson: Practice: Mini Builds: Validators