def numerifyId(string):
    """
    Given a string containing hexadecimal values that make up an id, return a new id that contains all digits and no letters.
    """
    for i in range(0, len(string)):
        if string[i] < '0' or string[i] > '9':
            string = string[:i] + '{}'.format(ord(string[i]) % 10) + string[
                i + 1:]
    return string
