Comments

Comments can be added in code that will not show up when the code is run. This can be done by adding a hashtag in a new line before typing anything. Alternatively, adding three single quotes in two lines also works, but the comments should be written between the two lines with the three single quotes.


Examples include:

#This is a comment

#Another comment


'''

This is a comment

Another comment

'''

No comments:

Post a Comment