This is Python · easy, lesson 1: Types you can see. Read the teaching and the stills before the checks. The quizzes are open book and test the subject — Python itself — not product rules or layout trivia.

Python Easy · Lesson 1 · On the house
Types you can see
int, float, str, bool — name them aloud. Lesson 1 is free — on the house.
Lessons · Python Easy · Lesson 1 of 10 · On the house
Types you can see
int, float, str, bool — name them aloud.

You already finished Introductory. I will not re-teach the absolute first hello. We build upward.
type(3) is int; type(3.5) is float; type("a") is str. Booleans are True and False.
Floats are binary approximations — careful with money.
Use isinstance for checks. TypeError means wrong kind of value.
Naming types aloud predicts which operations are legal.
types
print(type(3))
print(type(3.5))
print(type("a"))Sit with that still. Trace it top to bottom. Name each piece. The exercise asks you to match its essence.
If something fails when you try it yourself, change one thing. Read the error. Return to the still. I will not rush you.
Quiz
What is type(3)?
Quiz
What is type(3.5)?
Quiz
What is type("a")?
Quiz
What does TypeError usually mean?
Check
Match the still for: Types you can see.
That is the lesson. When every quiz and exercise on this page is green, mark it passed. Next lesson when you are ready.
Open-book: the answers are on this page. Pass every quiz and check (5) to mark the lesson done. This visit: 0/5.