Online Python - IDE, Editor, Compiler, Interpreter (online-python.com)
Ссылка на учебник по теме
Привожу пример: