Here, val can be an Integer, binary, octal, or a hexadecimal number. Let's look at some examples quickly. print(hex(1000)) # decimal print(hex(0b111)) # binary ...
確定! 回上一頁