I am trying to manipulate user input strings using the ord() funtion. This effectively allows me to identify the decimal value of each character in the string. I have been able to return the value of the characters, but what I need to understand is how to store each value (to manipulate it), and how to return the characters associated with the new values.
In essence, the user inputs :
>>>cat
and the return is
99
97
116
I want to store these values, then manipulate them:
99+1=100
97+14=111
116-13=103
then returns:
'dog'