🗒 Cheat Sheet← Lesson
BitWithBite
Python Worksheet

🐍 Variables & Data Types

Chapter: Python · Level ★☆☆ · Time: 30 min
SCORE___ / 20
NameClassDate
After this worksheet you can
Create variablesIdentify int, float, str and bool typesUse type() to inspect valuesFollow naming rules

🧠 Section A · Concept Check ● BEGINNER 4 × 1 = 4

1x = 5 makes x a:
2Which is a valid variable name?
3type(3.14) returns:
4True and False are of type:

🧮 Section B · Problem Solving ● INTERMEDIATE 2 + 3×3 = 11

5x = 'hi' makes x a .
6type(10) is .
7Create a variable age holding 16.
8What does type('5') return?
9Convert the string '7' to an integer.

🚀 Section C · Challenge ● CHALLENGE 5

10What is x after: x = 4; x = x + 1 ?
💭 Reflection — the most useful thing I learned:
A ___/4   B ___/11   C ___/5   Total ___/20 Teacher's Signature Parent's Signature
✂ answer key — fold or cut before handing out

1-B   2-C   3-B   4-A  |  5 str (string)   6 int   7 = age = 16   8 = str   9 = int('7')  |  10 = 5

📄 Need offline practice?Download the print-ready PDF or open the one-page cheat sheet.
⬇ Worksheet PDF 🗒 Cheat Sheet