In this example we will show how to create a single line comment starting with a # in Python.
Source Code
# This is a comment
print('I love Python!')
print('I love Python!') # This is a comment
Output:
I love Python!
I love Python!
In this example we will show how to create a single line comment starting with a # in Python.
# This is a comment
print('I love Python!')
print('I love Python!') # This is a comment
Output:
I love Python!
I love Python!