8 lines
No EOL
282 B
Python
8 lines
No EOL
282 B
Python
hex_string = "0x50 0x75 0x62 0x6c 0x69 0x63"
|
|
# Split the hex string into individual hex values
|
|
hex_values = hex_string.split()
|
|
|
|
# Convert each hex value to its corresponding character
|
|
decoded_string = ''.join([chr(int(hex_val, 16)) for hex_val in hex_values])
|
|
|
|
print(decoded_string) |