What does the # commonly used in python mean?
The # commonly used in python is used for comments. The pound sign (#) is often used as a single-line comment symbol. When using # in the code, any data to the right of it will be ignored. Treat it as a comment. The content to the right of
print 1 #输出1
# will not be output during execution.
Note:
Python is a widely used interpreted, high-level programming, general-purpose programming language, created by Guido van Rossum, first edition Released in 1991. It can be regarded as an improved LISP. Python's design philosophy emphasizes code readability and concise syntax.
Compared to C or Java, Python allows developers to express ideas with less code. Whether it is a small or large program, the language attempts to make the structure of the program clear and unambiguous.
Related recommendations: "Python Tutorial"
The above is the detailed content of What does # commonly used in python mean?. For more information, please follow other related articles on the PHP Chinese website!