Level 21 of 50
String methods
explained with a bank form. Watch the reel, then work through it below: run the code, take the quiz, keep the cheat sheet.
📒 Open the cheat sheetSanaUsman typed his name in small letters. The bank wants CAPITALS!
TeacherNo retyping! Strings come with built-in tools. String methods!
form.py
name = "usman ali" print(name.upper()) print(name.title())
Teacher.upper() makes everything CAPITAL. .title() capitalizes each word!
SanaSo did name change forever?
TeacherNo! Methods give you a NEW string. The original stays exactly the same!
⏸ Pause & predict: what prints?
city = "karachi" city.upper() print(city)
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.