https://leetcode.com/problems/replace-all-digits-with-characters/



Runtime: 53 ms, faster than 26.19% of Python3 online submissions for Replace All Digits with Characters.

Memory Usage: 13.8 MB, less than 55.86% of Python3 online submissions for Replace All Digits with Characters.



```python
import string

class Solution:
    def replaceDigits(self, s: str) -> str:
        #8:03
        result = ''
        
        last_char = ''
        for char in s:
            if (char.isnumeric()):
                if (last_char != ''):
                    startIndex = string.ascii_lowercase.find(last_char)
                    startIndex = (startIndex + int(char)) % len(string.ascii_lowercase)
                    newChar = string.ascii_lowercase[startIndex]
                    result += newChar
            else:
                last_char = char
                result += char
                
        return result
        #8:07
```
