Comments

In programming, it's common for more than one person to work on a project. You can probably imagine that the code being worked on by hundreds of people can be chaotic. For this reason, comments are used in most programming languages.

Comments mark a part of the program that the computer will ignore.

In Python, we create a comment by inserting a hashtag # into a line. The content of the line after the hashtag will be ignored by the computer. This means we can use such lines to communicate with other developers.

For example:

# The following line will print the result of 2 * 20
print(2 * 20)

Instructions

Insert any comment into the code.

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

4/10

Comments | Start Coder