- In Python, we use the hash (#) symbol to start writing a comment.
- Multi line comment
#and it will extends
#to multiple lines
- Use triple quotes, either ''' or """. After and before ''' all lines will be commented.
This is a sample code
to write a
python program
'''
No comments:
Post a Comment