1.开头加上# coding=gb2312,就可以使用中文了 2.range(1,5)是大于等于1,小于5 3.python多行注释用三个''' ''' adfadf adsfadf adsfadsf ''' 4.单行注释用#