The Code Editor

A tour of the CodeDesk editor — where you write, run, and test your code

1

Open an assignment

When you open an assignment, you'll see the complete problem description including requirements, an example of how the program should work, and starter code to help you begin. The left side shows all the details you need to understand what to build, while the right side will display your code editor once you start the project by clicking the "Creating..." button.

Open an assignment
2

The file panel

The file panel
3

The code editor

The code editor is the main workspace where you'll write and edit your Python code, featuring syntax highlighting that colors different parts of your code (like keywords in blue and strings in orange) to make it easier to read. Below the editor, you'll find tabs for "Stdin" where you can provide input data for your program, and "Console" where your program's output will appear when you run it.

The code editor
4

Running your code

Running your code
5

Run the code

The program has started running and is waiting for you to type your name in the console at the bottom of the screen. You can see the prompt "Enter your name:" which corresponds to the `input()` function on line 4 of your code. Type your response in the console area and press Enter to continue the program execution.

Run the code