Number of letters after string’s last digit

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 ff 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 ff. All strings in ff consist of digits and lowercase letters. All strings have at least one digit.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T16:48:44.920Z

© Jutge.org, 2006–2026.
https://jutge.org