Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python comments

"""
This is a 
multiline comment
"""

'''
single quote
multiline comment
'''

# this is a single line comment

#function documentation comment
def get_message():
   """
   function comment example
   :return: "Hello World"
   """
  
   return "Hello world"
Source by codefreelance.net #
 
PREVIOUS NEXT
Tagged: #python #comments
ADD COMMENT
Topic
Name
6+8 =