Filter by len()

37

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

Comments

Submit
0 Comments