Untitled
unknown
plain_text
13 days ago
345 B
3
Indexable
Never
vagas = [ ['vaga 1', 1200], ['vaga 2', 2550], ['vaga 3', 5000] ] # Filtrando as vagas com salário acima de R$2500 vagas_filtradas = [vaga for vaga in vagas if vaga[1] > 2500] # Imprimindo as vagas filtradas print("Vagas com salário acima de R$2500:") for vaga in vagas_filtradas: print(f"{vaga[0]}: R$ {vaga[1]}")
Leave a Comment