How to Create Comments in Python


In this example we will show how to create comments in Python.

Source Code

# Comments start with a #.
# This is a comment.
print("Hello, Python!")

Output:

Hello, Python!
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments