0

What does function 'hex' means in python ?

25th Sep 2017, 4:31 PM
Dhia Guedouar
Dhia Guedouar - avatar
2 Answers
0
Convert an integer number to a lowercaseĀ hexadecimal string prefixed with ā€œ0xā€, for example: >>> hex(255) '0xff' >>> hex(-42) '-0x2a'
25th Sep 2017, 4:51 PM
ВлаГимир Павлов
ВлаГимир Павлов - avatar