Starter Course
Lesson 4 of 100

Numbers in Python

Learn how Python handles numbers, the difference between integers and decimals, and how to do basic math.

Pyfessor

Lesson Briefing

Pyfessor

"Python loves numbers. Unlike text, numbers don't need quotes — Python understands them directly. You can add, subtract, multiply, divide, and do all kinds of math. There are two main types of numbers: whole numbers called integers (like 17, 42, 1000) and decimal numbers called floats (like 3.14, 9.99, 0.5). Knowing the difference will save you from some sneaky bugs later."

Pyfessor

"Hi! I'm Pyfessor. Ready to s-s-s-tart our coding journey?"

Pyfessor
    Pyfessor AI — Learn Python with Your AI Mentor