python 常用技巧
摘要:一、字符串与数值的转换 Python中字符串转换为数值: str_num = '99' num = int(str_num) 整型数转换为字符串: num = 99 str_num = str(num) 二、负数向二进制和十六进制转换 负数neg=-45054,为int数据类型 方法一: 求负数十六
阅读全文
posted @ 2018-12-13 14:27
拒绝思维懒惰,习惯深度思考,提升认知水平。
posted @ 2018-12-13 14:27
posted @ 2018-12-02 11:59