Count word endings

Write a function @count_word_endings(x)@ that receives a tuple xx of words, and returns how many of them end in ‘s’, how many end in ‘d’, and how many end in ‘t’.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T17:07:50.913Z

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