Фильтр от Len ()
def friend(x):
return filter(lambda name: len(name) == 4, x)
P Tap
def friend(x):
return filter(lambda name: len(name) == 4, x)