Loading section...
Data Types
Concepts: pyDataTypes
Every value in Python has a type that determines what operations you can perform on it. Understanding data types helps you work with different kinds of information correctly. Core Built-in Types Python has four fundamental types you will use constantly: strings for text, integers for whole numbers, floats for decimals, and booleans for true/false values. Choosing the right data type matters. Performing math on strings or logic on integers leads to unexpected results or errors.