Skip to content

Your first program: print

Python · Free lesson · No account needed

Step 1 of 8 · Start here

Your first program: print

Start here

print shows something in the console. What you want shown goes inside the brackets:

print("Hello, world!")

The quotes mark text. Python calls a piece of text a string, and prints it exactly as you typed it, without the quotes.

You’re trying a free lesson. Your progress saves on this device. Create a free account to keep it everywhere and ask the AI tutor.