Google Colab is a free online tool from Google that lets you write and run Python code directly in your browser.
Taking notes digitally is convenient, but if your goal is retention, it may not be your best bet. Try handwriting instead.