Python3内置函数 https://www.runoob.com/python3/python3-built-in-functions.html int https://www.runoob.com/python3/python3-number.html str https://www.runoob.com/python3/python3-string.html list https://www.runoob.com/python3/python3-list.html tuple https…
英文文档: bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define an __index__() method that returns an integer. 说明: 1. 将一个整形数字转换成二进制字符串 >>> b = bin(3) >>&g…