#5 How to write comments in Python | Comments in Python | Python Comments in Hindi

preview_player
Показать описание
#python #comments #commentsinpython #learningsquad
In this video, you can learn how to write comments in python, Comments are the ignored part of the code.
# is used for single-line comment
'''
code
'''
triple quotes are used for commenting multiline code.
Below is the used code:
#print('hello world 1')
print('hello world 2') #this line prints hello world 2
#print('hello world 3')

''' this is multiline comments'''
'''
print('hello world 4')
print('hello world 5')
'''
Рекомендации по теме
join shbcf.ru