I have three hex strings:
hex1 = "e0"
hex2 = "aa"
hex3 = "b0"
string = "\\x"+hex1+"\\x"+hex2+"\\x"+hex3
print string
When I concatenate those three strings after appending "\x" to each of them I don't get its character representation.
I get output as \xe0\xaa\xb0
But when I define it in one line
string = "\xe0\xaa\xb0"
and print string I get correct output which is ર
What is wrong in my previous attempt?
\\xand try to append.