A hash sign(#) that is not inside a string literal begins a comment.
All characters after the # and up to the physical line end are part of the
comment, and the Python interpreter ignores them.
#!/usr/bin/python
#First Comment
Print “Hello, Python!” ; # Second Comment.
This will produce following result:
Hello, Python!
No comments:
Post a Comment