Assignment connects a name to a value, so later expressions can use it.
seats = 12
print(seats)
seats = seats - 3
print(seats)
12
9
Python evaluates the right side first, then binds the name on the left to the result. The third line reads the old value 12 and binds seats to 9. This is reassignment, not a mathematical equation.
seats → 12 then seats → 9
A name must exist before it is read; a missing name raises NameError. Names are case-sensitive: seats and Seats differ. Choose descriptive names such as available_seats. Python convention uses lowercase words separated by underscores, called snake_case. Names cannot contain spaces or start with a digit. Reserved words such as def cannot be names. Avoid names such as print that hide useful built-ins.
Related names can be assigned together:
width, height = 4, 7
print(width, height)
4 7
Values match names in order. Separate lines are often clearer for unrelated values.