编辑器:windows,linux 不要用notepad,缩进糟糕 -------------- 5.18缩进 同一层次的语句必须有相同的缩进.每一组这样的语句称为一个块. i = 5 2 print('Value is ', i)# Error! Notice a single space at the start of the line行首有空格 print('I repeat, the value is ', i) 当你运行的时候,会得到下面的出错信息: File "whitespace…