Lesson 1 of 34

Your First Python Program

5 min 20 XP

In Python, we use print() to show something on the screen. Run the program below. This is your first program!

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

Text must always be written inside quotes " ". We call this a string. Numbers don't need quotes, and Python calculates them.

Example: edit me and press Run

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.

Each print() shows its output on a new line.

Challenge

+20 XP

Print these two lines exactly: Hello Python I can code!

Output Loading Python (first time takes a few seconds)
Press Run to see the result here.