Untitled

 avatar
RonGut23
plain_text
21 days ago
228 B
0
Indexable
Never
vagas = [

    ['vaga 1', 1200],
    ['vaga 2', 2550],
    ['vaga 3', 5000]

]

def vagalumes(vaga):
    if vaga[1] > 2500:
        return True
    else:
        return False 
print(list(filter(vagalumes, vagas)))
Leave a Comment