- Pyroom
- Tutorials
- Getting started with Pyroom
- Write and run your first Python program
Write and run your first Python program
Pyroom runs Python right in your browser. In this one-minute tutorial you type a single line of code, press Run and read the result in the console.
Beginner Video coming soon. The steps below show everything the video will cover.
Steps
- This is the editor. Whatever you write here is a Python program.
- Type print, then the words you want to show, in brackets and quotes.
- Press Run to start the program.
- The console shows what your program printed.
- Change the text and run it again. Every run starts fresh.
Read the transcript
This is the editor. Whatever you write here is a Python program.
Type print, then the words you want to show, in brackets and quotes.
Press Run to start the program.
The console shows what your program printed.
Change the text and run it again. Every run starts fresh.
More Getting started with Pyroom tutorials
- Ask the user a question with input() · Beginner
- Open a ready-made example and run it · Beginner
- Read a Python error and fix it · Intermediate