0
How do i change binary to hex in phyton
I understand the changing hex to binary as maths but it is hard in phyton
1 Answer
+ 1
It is very easy change binary to hex in python.
For example:
10101011 to hex
>>> hex(0b10101011)
'0xab'
your hex value: ab