Skip to main content

Practice · 2 of 3

Make the Tests Pass: Phone

CHALLENGE
Difficulty: beginner+25 XP

Implement normalize_phone(raw) so the hidden test suite passes: keep only digits, but keep a leading + if present.

Back to lesson: Practice: Assertions & Make-the-Tests-Pass