Numbers and Types
See how Python handles whole numbers and decimals, and why dynamic typing matters when values change.
Learn the core math concepts every beginner needs in Python. This lesson introduces integers, floats, type checking, casting, arithmetic operators, comparisons, order of operations, rounding, and a few practical real-world examples.
int and floattype()int() and float()round(), abs(), min(), and max() help clean up resultsFollow along with the video, then download the notebook and run each example yourself.
This lesson keeps the focus tight on beginner math in Python so students can build confidence before moving into more advanced libraries and data work.
See how Python handles whole numbers and decimals, and why dynamic typing matters when values change.
Practice the core operators used in real code, from addition and division to equality and greater-than checks.
Work through floating-point rounding, time conversion with floor division and modulus, and a quick even-or-odd check.
type()int() and float()+ - * / // % **==, >, and <abs() and round()// and %.
Use the Jupyter notebook to review the examples, run the code yourself, and experiment with the values.
Download the lesson playbook and work through the examples step by step.