💡 What You'll Learn
Welcome to coding! Your first program will say "Hello World!" to the screen.
In Python, we use print() to show messages.
The text inside the parentheses must be wrapped in quotes — this tells Python it's a string of characters, not code to run.
hello.py
1print("Hello World!")
2print("Welcome to coding!")
📺
Output
Click "Run Code" to see the result!
🎯 Your Challenges
1
Say Your Name
Change the message to print "My name is [your name]!"
2
Add Another Line
Add a third print statement with any message you want!
3
Single Quotes
Try using single quotes instead of double quotes: print('Hello!')
📚 What You Learned
print()shows messages on the screen- Text must be wrapped in quotes:
"like this"or'like this' - Each print() statement appears on a new line
- Python runs code from top to bottom