摘要: Python2中文出现乱码是因为内部采用的是utf8编码 而微软采用的是gbk python3统一采用unicode 同时input输入的是字符串类型 new_inp=int(inp)输入1(数字)而不是字符串 inp=input("please input a number!")new_inp=i 阅读全文
posted @ 2020-04-16 12:49 质料 阅读(93) 评论(0) 推荐(0)