8bit(8个位置)= 1 byte(字节)
1024byte = 1KB(千字节)
1024KB = 1MB(兆)
1024MB = 1GB(吉字节)
1024GB = 1TB (太字节)
2->4
8->256 ASCII码表表示了128种生活中用到的字符->unicode
python环境下
print(chr(0b100111001011000))#0b表示二进制
print(ord('乘'))#计算机只识别二进制
8bit(8个位置)= 1 byte(字节)
1024byte = 1KB(千字节)
1024KB = 1MB(兆)
1024MB = 1GB(吉字节)
1024GB = 1TB (太字节)
2->4
8->256 ASCII码表表示了128种生活中用到的字符->unicode
python环境下
print(chr(0b100111001011000))#0b表示二进制
print(ord('乘'))#计算机只识别二进制