Home โบ Learning paths โบ Variables and Data Types
๐ข Variables and Data Types โ learning path
๐ข Beginner13 problemsFree ยท no login needed
What this path teaches
Names, values, and conversions โ where NameError, ValueError, and type-mixing bugs live. The through-line: a variable exists only after its assignment runs, and Python never converts types behind your back.
By the end: You can trace where a value came from, what type it is, and convert it deliberately.
Your progress
0 of 13 opened
Start the path โThe problems, in order
- 1Using a variable before it exists
- 2Using a variable before it's defined
- 3Calling a variable like a function
- 4Converting text that isn't a number
- 5Converting invalid text to a number
- 6abs() and type conversion
- 7Rounding numbers
- 8Integer division and modulo
- 9Operator precedence
- 10not operator with different types
- 11String comparison basics
- 12Checking if a string is empty
- 13Sorting a list with mixed types
How to work a path
Do the problems in order โ each one assumes the rule taught by the one before it. Open a problem, try it in the interactive editor, and only then read the explanation. Progress is saved in this browser automatically (signed-in solves also earn XP and streaks). One path per week is a solid pace; finishing in a single sitting is allowed but not required.