Check out the Tour of Go if you're not familiar with this concept already. The general idea is an in-browser interactive learning playground. (An in-browser REPL, if you will).
It needs more slides, it needs bugfixes and improvements overall, but the basic concept is here. The sandbox was implemented using code from healeycodes.com and ChatGPT did much of the other initial heavy lifting for me (I am a backend engineer by trade, my front-end skills are extremely rusty.)
The code is here: https://github.com/jadedragon942/tour_of_python/
Disclaimer: it is nothing too fancy.
My long-term lofty goal is to build this and hand it off to python.org if possible/feasible.
Contributors/volunteers/feedback/opinions are of course welcome!