Untitled
unknown
python
a year ago
231 B
7
Indexable
vagas = [
['vaga 1', 1200],
['vaga 2', 2550],
['vaga 3', 5000]
]
def valor_exato(valor):
if valor [1] > 2500:
return True
else:
return False
print(list(filter(valor_exato, vagas)))Editor is loading...
Leave a Comment