摘要: IndentationError: unexpected indent 文件格式不对,可能是tab和空格没对齐的问题 格式要求非常严格。 IndentationError: unindent does not match any outer indentation level 使用的缩进方式不一致, 阅读全文
posted @ 2016-07-08 16:09 20121221 阅读(103) 评论(0) 推荐(0)
摘要: and exec not assert finally or break for pass class from print continue global raise def if return del import try elif in while else is with except la 阅读全文
posted @ 2016-06-27 22:24 20121221 阅读(349) 评论(0) 推荐(0)
摘要: 1、平方 5**2 = 25 5**3 = 125 2、变量的类型是可变的 3、显示中文 在文件开头加入 # -*- coding: UTF-8 -*- 或者 #coding=utf-8 就行 # -*- coding: UTF-8 -*- print "你好,世界"; 4、标识符 以单下划线开头( 阅读全文
posted @ 2016-06-27 21:43 20121221 阅读(140) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示