Good idea.
Was about to suggest jupyter notebook but it requires both a web-browser and it's not terribly noob-friendly. It's basically a normal editor, but with markdown formatting and able to run python code directly in it. And it's really advanced. Deserves a good try.
I HATE PROGRAMS LIKE THAT. Electron is an insult to older computers. To add insult to injury, not only does it use a browser as backend (opening up plenty of security-vulnerabilities too) but it's Chrom* of all things.
BTW:
Fountain's another language that deserves a good try. Very similar to markdown but designed for plays. Im not a playwright (is that how you spell it?) but it's still pretty cool.