Python Principles

Run Python code online

You can use this page to experiment with Python programming however you like. Simply enter your code in the editor below and press the "Run" button to run it.

Behind the scenes, our server runs your program in a Python interpreter and collects the output. It then displays the result of running your code below.

Run
Output: