AI Workshop: learn to build apps with AI →
Strings and Numbers
Master working with text and numbers in Python, including string manipulation, numeric operations, and type checking.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


In Python, working with strings and numbers is fundamental. This unit explores the different types of strings, numbers, and booleans, along with methods to work with them and check their types. You’ll learn about string manipulation, numeric operations, and how to accept user input.

Lessons in this unit:

0: ▶︎ Introduction
1: Python Strings
2: Python Numbers
3: Python Booleans
4: How to check if a variable is a string in Python
5: How to check if a variable is a number in Python
6: Python, how to check if a number is odd or even
7: Python, Accepting Input
8: Python Constants