...

Web Technologies - PYTHON

Back to Course

Lesson Description


Lession - #262 Python Comments


A comment in Python begins with the hash character, # , and stretches out to the end of the actual line. However, a hash character inside a string esteem isn't viewed as a remark. To be exact, a remark can be written in three ways - altogether on its own line, next to a statement of code, and as a multi-line comment block.

Let's see a example



# This is first python program!

print('Hello, welcome to Techedhub!'>

Output


Try it here