This reminds me a lot of BlueJ, the first “IDE” I used while learning OOP in Java during my first semester of college in the mid-2000s. It was a great teaching tool.
May I also suggest Hedy. Starts of as a different language but through exercises you end up programming Python!
Completely in the browser.