Find the bug in the snippet and identify the fix.
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