Skip to main content

Practice ยท 2 of 3

Make the Tests Pass: Phone

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

Difficulty: beginner

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