There's a point of difference though which is quite important especially for teaching: Thonny also works with MicroPython, i.e. it can do things like giving you a REPL which directly talks to the MicroPython interpreter running on a controller like ESP32 (so you say led.On() and the actual hardware LED goes on), upload code to it, has shims for common MicroPython modules which are implented in C (iirc), etc.