Python — From Basics to Advanced · First Steps
Variables and Names
First Steps
Introduction
A variable is a named label pointing to a value in memory. In Python you do not declare a type — you just assign with =. You will learn naming rules (PEP 8), keywords, multiple assignment, swap, and augmented assignment operators.