← All tasks
🔍
Intermediate

Shared Default List

⏱ 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

Each call should return a fresh list: [1] and then [2]. Instead the second call prints [1, 2].

Ready to try it?

Create a free account and subscribe to take "Shared Default List". Earn 150 XP and track your internship progress.

Already have an account? Sign in