Skip to content
Learn Python with BNHR

Course · Beginner · 16–20 hours

Companion

The solution to every exercise in Python Essentials, and why it works, one deliberate click away.

Code ESSLevel BeginnerLength 16–20 hoursModules 7Extras 4
On this page
  1. Overview
  2. 1. Start here
  3. 2. Values and names
  4. 3. Collections
  5. 4. Decisions and repetition
  6. Debugging drill D1. Debugging drill: values, records and loops
  7. 5. Functions
  8. 6. Text, files and errors
  9. Debugging drill D2. Debugging drill: a report that goes wrong
  10. Stretch exercises S1. Stretch exercises
  11. 7. Meet marimo
  12. Certification and support

The solution to every exercise in the course's notebooks, and why it works. Use it when you have been stuck on an exercise for ten minutes, or when your check is green and you want to compare. Each answer stays closed until you ask for it.

1. Start here

  • Start here 00_start.ipynb: 2 of 2 exercises explained

2. Values and names

3. Collections

  • Collections 20_collections.ipynb: 5 of 5 exercises explained

4. Decisions and repetition

Debugging drill D1. Debugging drill: values, records and loops

5. Functions

  • Functions 40_functions.ipynb: 5 of 5 exercises explained

6. Text, files and errors

Debugging drill D2. Debugging drill: a report that goes wrong

Stretch exercises S1. Stretch exercises

7. Meet marimo

  • Meet marimo 60_meet_marimo.py: 1 of 1 exercises explained

Certification and support

We offer additional resources, certificates, ongoing support, and other perks to those who join our instructor-led training.

Join an upcoming training to take this as an instructor-led course, or contact us to arrange one for your team or organization.

Something new

Identify results
LayerExplore a module
ModuleArrays with NumPy
AboutModule 2 of Arrays & DataFrames: arrays, their dtype and shape, masks, vectorized arithmetic and broadcasting, and sums along an axis with missing values. Its sections, its notebooks to read on the web, and the companion's solutions and explanations.
CourseArrays & DataFrames, free