Использование петли Python

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