Integer Insertion Issue

I want to ask how to insert the ASCII difference as a character value in the string, I am unable to do so. See line 10 of my code.

hi @siddhjain12sj34_f9d611034fa2bf83,
do int(a[i])