convert hex to base 10 python functin code example
Example 1: string hex to decimal python
x = int("deadbeef", 16)
Example 2: python convert hex number to decimal
print(int("61", 16)) # output 97 (ascii value "a")
x = int("deadbeef", 16)
print(int("61", 16)) # output 97 (ascii value "a")