Code Comments in Python


Using comments is really important to make sure that you yourself and other can understand your coding. To add comments to the scripts of your Python program you need to use # Sign.

Python does not run what is written after # sign and ignores it.

e.g:

# Add 4 and 5 equal 9

print(4+5)

Comments

Popular posts from this blog

Numpy - The Python Library for Data Science

Importance of Python Language in Artificial Intelligence, Machine Learning and Data Science.

Bahaviours of different data types in Python.