Kids are adaptable, and if you put a rule in place, they will find a way to get around it. Case in point: school cell phone ...
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.