Source Code:
(back to article)
hex_string = "a1f" int_value = int(hex_string, 16) print(int_value)
Result:
Report an issue