摘要:
英文文档: class bytes([source[, encoding[, errors]]]) Return a new “bytes” object, which is an immutable sequence of integers in the range 0 <= x < 256. b 阅读全文
摘要:
英文文档: class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 阅读全文
摘要:
基本数据类型常用功能:1.整数,int a. n1=123 n2=456 print(n1+n2) print(n1._add_(n2)) b. 获取可表示的二进制最短位数 n1=4 ret=n1.bit_length() print(ret)一:运算符 in "hello" in "aaaaaaa 阅读全文