← All lessons

Comments

Sign in · Sign up

Lesson 0.2

Python does not run anything after # — it's a note for a human.

print("Hello")  # prints a greeting
# print("this line will not run")

Write a program that prints three lines:

Hello
Mia
🚀

And add three comments to your code, each starting with #.

Hint

A comment starts with # and runs to the end of the line — Python does not run it.

You need three print calls here: the greeting, the name and the emoji — each on its own line.