Print function
The
print()
function prints the specified message to the screen, or
other standard output device.
Example:
print("Hello,
World!")
Hello, World!
Hello, World!
Comments
Comments can be used to explain Python code.
Comments can be used to make the code more readable.
Comments can be used to prevent execution when testing code.
Example:
1.
#This
is a comment
print("Hello, World!")
print("Hello, World!")
2.
‘’’
This is multiline
This is multiline
comment.
‘’’
print("Hello, World!")
More will come idea if you watch this video:-
print("Hello, World!")
More will come idea if you watch this video:-
0 Comments