Back
+10 XP
Concept

Comments (#)

Stick a `#` in front of any line, and Python goes completely blind to it:

python
# print("Ignore this completely")
print("This line actually runs")

# 6. Comments (#) Stick a `#` in front of any line, and Python goes completely blind to it: ```python # print("Ignore this completely") print("This line actually runs") ``` Comments are notes for future you, who will have amnesia and question every life choice made in this file.

Checkpoint

Why would a developer type `#` in front of a line of code?

Practice

You have this line of code: ```python print("ALARM ACTIVE") ``` Disable it using `#` so nothing prints on screen.

Terminal
01
Tap code blocks below to assemble
Available Blocks