transform hex in dec python code example
Example 1: python convert hex number to decimal
print(int("61", 16)) # output 97 (ascii value "a")
Example 2: convert decimal to hex python
hex(x) being x the integer you want to convert
print(int("61", 16)) # output 97 (ascii value "a")
hex(x) being x the integer you want to convert