H

hex(integer)

 

Module: Built-in

Syntax: hex(integer)

Description: Displays hexadecimal format of the integer argument. See Python documentation for more details.

Example:

>>> hex(16)

'0x10'

>>> hex(16**2)

'0x100'

y N

.