Use a formatted string literal to get the hex representation of a value without `0x`, e.g. `result = f'{my_int:x}'`. The formatted string ...
確定! 回上一頁