2022年7月21日
摘要: 一·input()函数易错点 1.Python中input()函数接受字符串时,报错信息“x x x is not defined” 原因:input()函数希望接收到一个合法的Python表达式,即你输入字符串的时候必须使用引号将它括起来,否则它会引发一个 SyntaxError 。 2.inpu 阅读全文
posted @ 2022-07-21 14:18 CC陈三愿 阅读(69) 评论(0) 推荐(0) 编辑