Skip to content

Variables ​

Store values to use later.

string (str) ​

Strings are anything in quotes, usually letters or words.

python
name = "Steve"

integer (int) ​

Integers are numbers without decimals.

python
age = 24

float (float) ​

Floats are numbers with decimals.

python
angle = 31.8

boolean (bool) ​

Booleans are either True or False.

python
is_raining = True