spam cat bat rat elephant for in spam print len

1
2
3
spam = ['cat', 'bat', 'rat', 'elephant']
for w in spam:
print(w, len(w))