meerkat.hex

hex(number, /) str

Return the hexadecimal representation of an integer.

>>> hex(12648430)
'0xc0ffee'