Utilisation de la boucle Python
words = ['cat', 'window', 'defenestrate']
for w in words:
print(f'{w} has {len(w)} letters')
Code Hedgehog
words = ['cat', 'window', 'defenestrate']
for w in words:
print(f'{w} has {len(w)} letters')