← All tasks
🔍
Programming Beginner

Mutable Default Argument

⏱ 5 min ⭐ 100 XP 🔁 3 attempts allowed

What you'll do

Find the bug in the snippet and identify the fix.

Scenario

A teammate's python code is misbehaving. Expected behavior: Each call should start with a fresh list.

Ready to try it?

Create a free account and subscribe to take "Mutable Default Argument". Earn 100 XP and track your internship progress.

Already have an account? Sign in