python int to ascii string

# converting intefer to ascii number
# declaring variable
i = 3
ord(str(i)) # output --> 51

Here is what the above code is Doing:
1. The ord() function takes a string and returns the corresponding ASCII value.
2. The str() function takes a number and returns the corresponding string.
3. The ord(str(i)) function takes a number and returns the corresponding ASCII value.