… sounds boring, is boring – but even though it is important to know them.
Variables reserve memory locations to store values depending on data type:
- int (signed integers)
- long (long integers, they can also be represented in octal and hexadecimal)
- float (floating point real values)
- complex (complex numbers)
Strings str are mostly used for saving word, sentences or texts. Subsets of strings can be taken using the slice operator ([ ]) (indexes starting at 0, ending at string length -1)
Boolean values bool can be true or false and are used in Logical operations.
There are many more data types in Python but for the time the mentioned are sufficient.