Write reusable Python functions
Turn a repeated calculation into documented, tested functions. Learn parameters, return values, scope and input validation with a notebook and a solved exercise.
Free learning path· Learn at your own pace
Turn a repeated calculation into documented, tested functions. Learn parameters, return values, scope and input validation with a notebook and a solved exercise.
A traceback shows where Python stopped and why. Learn to read it, fix the cause and handle invalid input without hiding bugs.
Understand the Jupyter kernel, Python, .venv and ipykernel. Run cells in dependency order, check stale results and save verified notebook outputs.
Understand why two variables can share a list, then choose an appropriate copy to work without changing the original data.
Learn Python basics through 11 concepts: variables, strings, lists, dictionaries, conditions, loops and functions, with a notebook and a solved exercise.
Set up a Python project on Windows with uv, configure VS Code and Jupyter, then check the notebook’s kernel and library versions.
The course links to get started. Then a short summary with every new article, so you can choose what to explore next.
Artificial intelligence, step by step: from model to web application.