Course contentsShow
Python
Lesson 485 of 1,28912. FunctionsPro lesson

Mutable default argument trap

Why `def f(x=[]):` is dangerous.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.