# Comments
Comments are very important in programming. They are used to document what a piece of code does in plain English, and they are also used to disable a part of the program that we want remove temporarily.
This is because the Python program ignores comments.
Here's how we use comments:
# Printing out a message
print("Hi")
In the above example, we created a comment using the #
symbol. Because line 1 is a comment, all of line 1 is ignored. The program continues on to line 2 and the output is simply:
Hi
Comments can also be placed more towards end of the line:
print("Hi") # I'm a comment, too!
Here, the output would still just be "Hi".
# Instructions
Create a initials.py program that displays your initials in block letters.
First, start your program with a comment that says a fun fact about yourself.
Then, create your block letters with your initials.
For example, if your name is Ada Lovelace, your initials would be A and L and your block letters would look like:
A L
A A L
A A L
AAAAA L
A A L
A A L
A A LLLLL
Hint: This will likely need seven print()
functions.
Back