Practice · 1 of 4
Safe Conversion
CHALLENGE
Difficulty: beginner+25 XP
The starter crashes on non-numeric text. Wrap the conversion in try/except so the program prints bad input instead of crashing.
Press Submit to check your solution.
Back to lesson: Practice: Traceback Reading