Practice
Quizzes and exercises
Reading is not enough. Check your understanding with quizzes, then write code in exercises that tell you straight away whether your answer is right.
Course quizzes
More quizzes appear here as each course is completed.
Lesson exercises
Every lesson ends with a coding exercise and a knowledge check. Jump straight to one:
- What Is Python?Python for Beginners
- Your First Python ProgramPython for Beginners
- VariablesPython for Beginners
- Data TypesPython for Beginners
- Numbers and MathPython for Beginners
- StringsPython for Beginners
- Getting User InputPython for Beginners
- Type ConversionPython for Beginners
- Booleans and ComparisonsPython for Beginners
- If, Elif and ElsePython for Beginners
- Logical OperatorsPython for Beginners
- For LoopsPython for Beginners
- The range FunctionPython for Beginners
- While LoopsPython for Beginners
- Break and ContinuePython for Beginners
- ListsPython for Beginners
- List MethodsPython for Beginners
- TuplesPython for Beginners
- SetsPython for Beginners
- DictionariesPython for Beginners
- Defining FunctionsPython for Beginners
- Parameters and ArgumentsPython for Beginners
- Return ValuesPython for Beginners
- Variable ScopePython for Beginners
- Reading and Writing FilesPython for Beginners
- Handling ErrorsPython for Beginners
- Modules and ImportsPython for Beginners
- Project: Number Guessing GamePython for Beginners
- Project: Simple CalculatorPython for Beginners
- Where to Go NextPython for Beginners
- What Is a Database?SQL for Beginners
- SELECT and FROMSQL for Beginners
- Filtering With WHERESQL for Beginners
- Sorting With ORDER BYSQL for Beginners
- LIMIT and DISTINCTSQL for Beginners
- COUNT, SUM and AVGSQL for Beginners
- GROUP BYSQL for Beginners
- HAVINGSQL for Beginners
- Working With NULLSQL for Beginners
- Primary and Foreign KeysSQL for Beginners
- INNER JOINSQL for Beginners
- LEFT JOINSQL for Beginners
- Joining Many TablesSQL for Beginners
- INSERTSQL for Beginners
- UPDATE and DELETESQL for Beginners
- CREATE TABLESQL for Beginners
- Project: Analyse a Store DatabaseSQL for Beginners