注释
- 单行注释
- 多行注释
- 语句注释
# This is a Single line annotationprint('Hello World') #Simple annotation"""If an annotation added after the statementsThen this annotation must be short and simple.Otherwise it must be annoted after newline"""'''This is also a multannotationCtrl + / can be create a annotation quicklySingle Line annotation an be explain single statementMultannotation can describe a code block.'''
单行注释可以对一个语句进行注释
多行注释可以解释一个代码块
语句注释必须清晰且简短
