A code to compute the number of letters after string’s last digit is desired. Write a function numletters_after_lastdigit(f) that provided a list of strings f returns a list of numbers. Each number in the result list has to be the number of letters after last digit in the corresponding string of f. All strings in f consist of digits and lowercase letters. All strings have at least one digit.
>>> numletters_after_lastdigit(['0c2ode', '0co4de', 'c0od6e', '0code8']) [3, 2, 1, 0] >>> numletters_after_lastdigit(['5', '00y0', 'x3', 'zz2z', 'z43zz']) [0, 0, 0, 1, 2] >>> numletters_after_lastdigit([]) []