Values and types
Every value has a type. The common ones are int (whole numbers), float
(decimals), str (text), bool (True or False) and None, which means
"no value".
type(x) tells you the type, and repr(x) shows a value the way Python
writes it, with quotes around strings. When debugging, print(repr(x)) beats
print(x), because "5" and 5 look the same with plain print.
Python is dynamically typed: a name can point at a value of any type, and the
type is checked when the code runs. That is why "5" + 5 is an error at run
time, not 10 or "55". Convert first with int("5") or str(5).
Run the code, then add print("5" + 5) to see the error.