Unit 2 Task 23: Strong enough Wi‑Fi password

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Unit 2 Task 23 - Strong enough Wi‑Fi password

← Unit 2 tasks · Solution


A router rejects passwords that are shorter than 8 characters. Keep asking for a password until len(password) >= 8. Then print Password accepted.

Skills: while, len(), strings.