← All tasks
🔍
Intermediate

Early Return in Loop

⏱ 6 min ⭐ 150 XP 🔁 3 attempts allowed

What you'll do

Study the Python code and click the line number(s) that contain the bug.

Scenario

The function should return the largest number in the list, but for [1, 9, 3] it returns 1.

Ready to try it?

Create a free account and subscribe to take "Early Return in Loop". Earn 150 XP and track your internship progress.

Already have an account? Sign in