Python base notes _

1 comment

# 单行注释

"""
多行注释,一般用于类说明
"""
或
'''
多行注释
'''

2, work logs

# TODO 说明性文字        记录工作日志,方便信息查找

3, syntax error

  • Syntax error: red wavy line of text at the bottom
  • The syntax does not meet specifications: gray wavy lines of text at the bottom
  • Spelling tips: text at the bottom green wavy line

4, the long code is written specification

  • Line break use \
  • Adding a whole ()

Guess you like

Origin www.cnblogs.com/chungeyuan/p/11410265.html