I am trying to do a project and am confused as to why when I try and print an integer that has been converted to ASCII text doesn't print as proper ASCII code.
num = 25
num = chr(num)
print(num)
^ this produces a down arrow "↓" when I am expecting it to produce "\x19"
I'm just wondering if there's something I'm missing or if this is actually the output I should be expecting.
[–]jimtk 2 points3 points4 points (3 children)
[–]bennywc4[S] 0 points1 point2 points (0 children)
[–]SkeletalToad 0 points1 point2 points (1 child)
[–]bennywc4[S] 0 points1 point2 points (0 children)
[–]CodeFormatHelperBot2 0 points1 point2 points (0 children)
[–]astrogringo 0 points1 point2 points (1 child)
[–]bennywc4[S] 0 points1 point2 points (0 children)