a hash sign that is not within a string literal


A hash sign (#) that is not within a string literal begins a comment. All characters later than the # and up to the physical line end are division of the comment, and the Python interpreter disregards them.
#!/usr/bin/python

# First comment
print "Hello, welcome to python!"; # second comment
This will create following outcome:
Welcoem to Python!
A comment possibly on the same line after a statement or term:
name = "fentsdisuja" # This is another time comment
You can comment multiple lines in this manner:
• # Here name denotes file name
• &
• # Id denotes identity

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: a hash sign that is not within a string literal
Reference No:- TGS0154921

Expected delivery within 24 Hours