Scope and mutable objects

See why changing a list inside a function changes it outside.

Lesson complete

Nice work. Replay it any time.

All courses

About this topic

See why changing a list inside a function changes it outside.

Part of Python Programming: 23 topics, 5 free.

More topics in this course