Introduction
Python Data Types & Operators
Conditional Statements
Python Loops
Python Strings
Python Lists
Python Tuple
Python Comments
A comment is a part of the coding file that the programmer does not want to execute, rather the programmer uses it to either explain a block of code or to avoid the execution of a specific part of code while testing.
Single-Line Comments:
To write a comment just add a ‘#’ at the start of the line.
Example 1:
#This is a 'Single-Line Comment'
print("This is a print statement.")
Output:
This is a print statement.
Example 2:
print("Hello World !!!") #Printing Hello World
Output:
Hello World !!!