If you put the hex number in string format, it does str() does not convert it into integer. >>> str('0xABC'). '0xABC'. < Example 4 >. >>> int('0xABC',16).
確定! 回上一頁