Not sure if this might be a bug or even a browser related bug.
In the cloud version the Python editor does color code only some keywords like “return”.
If I paste a JavaScript into a Python editor, it is colored the same as in JavaScript editor.
This assumes Python color coding is broken or there is no difference in Python or JS color coding.
If there is no difference, I will add it as feature request since longer codes are hard to read like this.