Specifically for hex numbers, you can use:a = 0x12ef b = 0xabcd print(hex(a ^ b))This will give ... PythonProgrammingServer Side Programming ...
確定! 回上一頁