Level 4 of 50
Data types
explained with bazaar mangoes. Watch the reel, then work through it below: run the code, take the quiz, keep the cheat sheet.
📒 Open the cheat sheetSanaMangoes are 250 a kilo! I'm buying 2.5 kilos!
TeacherWhole numbers, decimals, text. Python has a type for each! Data types!
🔢
int
250
⚖️
float
2.5
🔤
str
"Chaunsa"
✅
bool
True
Teacher4 basics! int for whole numbers. float for decimals. str for text. bool for True or False!
mango.py
price = 250 kilos = 2.5 mango = "Chaunsa" print(type(kilos))
TeacherNot sure? Ask Python! type() tells you.
SanaWhy isn't kilos an int?
TeacherIt has a decimal point! Any dot makes it a float!
⏸ Pause & predict: what prints?
print(type("5"))
Where this leads
Python is step one. Building AI that ships is the rest.
The diploma takes you from zero to deployed computer vision, LLM and agent projects, with engineers who build them for a living. Already code? The bootcamp does it in three months.