Use # to start a comment : Comments « Language Basics « Python






Use # to start a comment

Use # to start a comment
SPAM = 1         
                 
STRING = "# This is not a comment."

# -*- coding: iso-8859-15 -*-
 
currency = u"\9999"
 
print currency

           
       








Related examples in the same category

1.Comment in PythonComment in Python
2.A comment on the same line as codeA comment on the same line as code