W3Schools is a freemium educational website for learning coding online. You can search for a Python Online Compiler there.

You should also check out their tutorials if you want to get more advanced.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence