>>> a = 122 >>> b = 344 >>> c = hex(a) >>> d = hex(b) >>> c '0x7a' >>> d '0x158' >>> 转载于:https://www.cnblogs.com/blogofwyl/p/4658488.html