Getting Started with Replit
For new and casual users, we recommend using the free online Python environment Replit, available at https://www.replit.com.
After registering an account on Replit and answering (or skipping) the initial questions, you will be presented with the Replit Home page.
What is a Repl?
Repl stands for "Read Evaluation Print Loop" and, at Replit, is an interactive environment for developers to create small projects. Each of our small programs will take place inside individual Repls.
1. To start, click the "+ Create" button.
2. Since we will be using Python, choose the "Python" replit.
3. Type in a Title for your Repl, or leave it as the randomly-generated suggestion.
4. Click "Create Repl".
Your first Repl usually has a small tutorial. Feel free to read through each of the prompts to get familiar with the environment.
Traditionally, your first program in a new language is a program that simply prints "Hello World!". This is very easy in python and can be done by typing the following line as line 1 in your newly-created Repl.
1 print("Hello World!")
In Replit, it should like this:
To run your program, click the green "Run" button at the top.
Now, on the right side, you will see the output in Python's "console". The console is where text-based programs will display their result.
Congratulations! You've written your first Python program.