This is the P2PU Archive. If you want the current site, go to www.p2pu.org!

Learn Python the Hard Way

My recent threads

You haven't posted any discussions yet.

Recently updated threads

Exercise 2 - Comments in Python

Go back to: General discussion

There are 2 types of comments in Python:

# the pound sign, which is a one-lign comment
and the multi-line comment which is embedded in 3 quotation marks:
""" This is a multi line comment
which is is also used for doc strings in functions
"""
 

Steve Phelps's picture
Steve Phelps
Fri, 2011-01-21 14:10

thanks!