Repl.it provides an online development environment to quickly prototype applications using variety of languages. To get started, head over to the repl.it and create an account.

The collaborative browser based IDE
Replit is a simple yet powerful online IDE, Editor, Compiler, Interpreter, and REPL. Code, compile, run, and host in 50+ programming languages.

After you have created an account, you can start using Python by creating a Python3 repl.

The repl.it interface is divided into three sections. A file-tree, editor and console. You can use the console as the interactive interpreter for Python.  

To write a python script, click the main.py and click edit. Then write the following program and save it as hello.py

print("Hello World")
print("This is Primer !")
Our first python script: hello.py 

To execute the python program, click the Run button on top. Repl.it executes the main.py script by default.

That's it. You have successfully ran your first Python program on your Repl.it.