online python interpreter with modules code example
Example 1: python ide online
#1
https://www.onlinegdb.com/online_python_compiler
#2
https://repl.it/languages/python3
Example 2: online python compiler
This is the best online compler for python which I've used.
Probably you will find it on the top of your search resluts too.
https://www.programiz.com/python-programming/online-compiler/