Python3 comment
Ensure modules, functions, annotation using the correct method and line styles within
Comments in Python has a single-line and multi-line comments:
Python in single-line comments begin with #, for example ::
# 这是一个注释 print("Hello, World!")
Multi-line comments with three single quotes ( '' '), or three double quotes ( "" ") enclose comments, such as:
1, single quotes ( '' ')
#!/usr/bin/python3 ''' 这是多行注释,用三个单引号 这是多行注释,用三个单引号 这是多行注释,用三个单引号 ''' print("Hello, World!")
2, double quotation marks ( '' ')
#!/usr/bin/python3 """ 这是多行注释,用三个单引号 这是多行注释,用三个单引号 这是多行注释,用三个单引号 """ print("Hello, World!")