Python — From Basics to Advanced · First Steps
Data Types: int, float, str, bool
First Steps
Introduction
Python has a few core built-in types: integers (int), floats (float), strings (str), and booleans (bool). Each behaves differently in operations. You will learn type(), conversions, arithmetic operators, truthiness, and the difference between == and is.