Skip to content

Variables & Garbage Collection¶

About This Lesson¶

Understand how Python manages variables and memory. Learn about variable naming, assignment, and Python's automatic garbage collection system.

What You'll Learn¶

  • Variable naming conventions
  • Variable assignment and reassignment
  • Multiple assignment
  • How Python manages memory
  • Garbage collection basics
  • Use the MkDocs navigation on the left to move between lessons
  • The notebook below is fully interactive - you can run and edit code
  • Your changes are saved in your browser's local storage

Interactive Notebook¶


Having trouble with the embedded notebook? Try one of these: