thonny online compiler code example
Example: online python compiler
w3schools has another compiler option
https://www.w3schools.com/python/trypython.asp?filename=demo_compiler
w3schools has another compiler option
https://www.w3schools.com/python/trypython.asp?filename=demo_compiler