The input integer argument can be in any base such as binary, octal, etc. Python will take care of converting them to hexadecimal format. Syntax. hex(number).
確定! 回上一頁