← All tasks
🔍
Programming Beginner

Fix an Unhandled Division by Zero

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line where a division can throw a DivisionByZeroError if the denominator is 0.

Scenario

Calculating an average score crashes the whole request when a class has zero students.

Ready to try it?

Create a free account and try "Fix an Unhandled Division by Zero" free for 7 days, no card required. Earn 120 XP and track your internship progress.

Already have an account? Sign in