Lesson 2 of 12

Hello, World! 👋

🎯 Grades 6–8 ⏱ ~25 minutes 💚 Intermediate

What You'll Learn

  • Write and run your first Python program
  • Understand what print() does and how to use it
  • Read Python error messages and fix common mistakes
Quick Check

1. Which of these correctly prints "Hello" in Python 3?

Aprint "Hello"
Bprint("Hello")
CPrint("Hello")

2. What type of error occurs when you forget a closing parenthesis?

ANameError
BSyntaxError
CTypeError

3. What does print("Score:", 95) display?

A"Score:" 95
BScore: 95
CScore:95

4. What does \n do inside a print() string?

AAdds a tab
BPrints the letter n
CCreates a new line