Home  >  Article  >  Backend Development  >  What does # commonly used in python mean?

What does # commonly used in python mean?

藏色散人
藏色散人Original
2019-06-26 09:18:2015327browse

What does # commonly used in python mean?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn