Filter by len()

29

def friend(x):
    return filter(lambda name: len(name) == 4, x)

Comments

Submit
0 Comments