Google Colab Notebooks are documents where you can mix notes and Python code.
They are brilliant for creating teaching resources, or, working on a project where you are figuring it out as you go, because you can create little fragments of code, and run them one at a time.