Skip to content

Latest commit

History

History
22 lines (17 loc) · 538 Bytes

File metadata and controls

22 lines (17 loc) · 538 Bytes

Comments

1) Single-line comment - Using #

By putting # symbol in front of a line can convert a line into a comment therefore the interpreter will ignore/neglect the line.

 # This is a single line comment

2) Multi-line comment - By using ''' ''' or """ """

By using ''' ''' or """ """ (Triple single or double quotation marks) for writing multi-line comment

 '''
This
is a multi-line comment
'''

 """
This is a multi-line comment
"""