""" 接收控制台的输入 How old are you? 18 How tall are you ? 180 How much do you weigh? 50 So ,you are '18' old,'180' tall and '50' heavy, python3的控制台输入函数时input(); """ print("How old are you?"); age=input(); print("How…
目标 想要获取一个整形数字的二进制表示 bin 内置函数 看一下官方的解释 Convert an integer number to a binary string prefixed with "0b". 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. Some exa…