Module 0

Code editor and output

Get comfortable with the workspace.

The workspace has two main parts.

On the right, you write your code in an editor. It highlights Python words in color, numbers the lines, and helps you keep things tidy.

Try it

Run code executes your program. Reset returns the editor to the starting code. Check answer grades your solution to a challenge.

Below the editor is the output panel. Everything your program prints lands here. It behaves like a small console, just for your Python program.

A common mistake

On most computers you can press Ctrl + Enter (Windows/Linux) or Cmd + Enter (Mac) to run your code quickly.

Where does Python place the text produced by print()?