Answers for "using hex values in python"

0

write hexadecimal in python

y=255
z=170
print(f'Hex Form: y={y:x} z={z:x} ')

#output
Hex Form: y=ff z=aa
Posted by: Guest on February-08-2022

Python Answers by Framework

Browse Popular Code Answers by Language