Cant understand the output

https://ide.codingblocks.com/s/33157

why is 53 coming

character ‘5’ is converted to integer value, that is ASCII value of 5 is stored in variable i which is 53.
Thats why the output is 53.

but then when i print ch only by giving a input n.o why does it show the very n.o i gave as input and not the ascii value of that n.o by converting it into char ’ 5 ’ (when input was 5)

input is 5, and saved in character. which means input is ‘5’ which is equivalent to int(53)
basically char(‘5’)=int(53).