python之进制转化函数

bin()

将给的参数转换为二进制

otc()

将给的参数转换为八进制

hex()

将给的参数转换为十六进制

猜你喜欢

转载自blog.csdn.net/liukai6/article/details/82778907