How would you express the hexadecimal value a5 as a base-16 integer constant in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How would you express the hexadecimal value a5 as a base-16 integer constant in Python?

11th Apr 2021, 3:25 PM
~A~
2 Answers
+ 8
Thnks👍🏻
11th Apr 2021, 3:41 PM
~A~
+ 6
a=0xa5 print(a)
11th Apr 2021, 3:34 PM
TOLUENE
TOLUENE - avatar