摘要: 逻辑与或非用的是and or not。 除法即使整除结果也是浮点数 地板除//结果一定是整数。 内存中的字符串是Unicode编码,str.encode('utf-8 or ascii')将class str为class bytes。反之用bytes.decode('utf-8 or ascii') 阅读全文
posted @ 2022-07-04 15:06 hellozhangjz 阅读(31) 评论(0) 推荐(0)