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.
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
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.