0

What does function 'hex' means in python ?

25th Sep 2017, 4:31 PM
Dhia Guedouar
Dhia Guedouar - avatar
2 ответов
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