To get a basic feel for the Python
language, think of it as pseudocode, because that’s pretty close to the truth. Variables don’t have types, so you don’t need to declare them. They appear when you assign to them and disappear when you don’t use them anymore. Assignment is done with the
= operator, like this:
Note that equality is tested by the
== operator. You can assign several variables at once, like this:
x,y,z = 1,2,3
first, second ...