📘 Python Variable Types

Variables can hold different kinds of data. Here are some examples:

VariableValueType
x10Integer (int)
price19.99Float (decimal)
name"Samantha"String (text)
is_onlineTrueBoolean (True/False)
colors["red", "blue", "green"]List

💡 Try to guess what happens if you type:

print(type(10))
print(type("Hello"))