摘要: 1、range函数 2、strip函数 阅读全文
posted @ 2019-10-12 18:03 wang509020 阅读(438) 评论(0) 推荐(0) 编辑
摘要: ``` 1、NameError:name 'Ture' is not defined 这个是名字没有定义,也可能写错了 while True: 2、IndentationError: unindent does not match any outer indentation level 这个是因为没有在行首输入,是因为有空格。 3、OSError: [Errno 22] Invalid argum 阅读全文
posted @ 2019-10-12 15:35 wang509020 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 代码为: 在使用python拼接进行格式化输出时出现如下错误: 针对此问题,解决方法是: 主要是因为age的字段中使用int格式来验证,导致此问题。 阅读全文
posted @ 2019-10-12 12:05 wang509020 阅读(4135) 评论(0) 推荐(0) 编辑