🐍 Python Tutorial
# imports

# variables

# Function definitions

# Put code to run under here
print(f'Hello')

Project 1 — Step 1 of 16

⭐ Step 1 — Print Hello

➡️ Make the computer say the word Hello on the screen.

In Python, print() is how you make the computer show words. Whatever you put inside the (...) is what it says.

✏️ What to type

At the bottom of the editor below (under the line # Put code to run under here), type:

print(f'Hello')

Then tap ▶ Run.

# imports

# variables

# Function definitions

# Put code to run under here

You should see:

Hello

🔍 Tip

When you type an opening bracket ( or an opening quote ', the editor adds the closing one for you. So you only type half!

💡 If you get a red error

Check your line carefully. Make sure there are single quotes around Hello so Python knows it’s a word.

Next → Step 2

⬅ Back to Project 1


Adapted from Raspberry Pi Foundation — Hello World under CC BY-SA 4.0.