Single line comments
You can use # symbol for single line comments
You can use # symbol for single line comments
For example,
#print function is used to output something
print ('Hello World')
Block Comments ( Triple quotes comments)
Three quotes comments are considered as block comments in python.
For example,
"""
Author: Dinesh Dontha
Component: Payment Processing
Licence: ----
"""
print('Start of the program')
#some processing
print('End of the program')
No comments:
Post a Comment