Editor

Print a Greeting

Beginner · Write the code · from Python for Beginners: Your First Program in 5 Minutes

From the lesson: Python for Beginners: Your First Program in 5 Minutes

Have you ever wondered how apps like Instagram, Spotify, or YouTube actually work? Behind every app, website, and game, there's code - instructions written by a person telling the computer what to do.

Read the lesson

Write a program that prints exactly:

Hello, Python!

The test checks for an exact match - including the comma, space, and exclamation mark.

# Print the greeting below

More for Beginners exercises

All Python exercises · 50 practice problems · Python Fundamentals quiz