online python emulator code example
Example 1: online python compiler
Use this site
https://repl.it/languages/python3
Example 2: online python compiler
w3schools has another compiler option
https://www.w3schools.com/python/trypython.asp?filename=demo_compiler