Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
QuizzicalStupidParallelalgorithm created by acwoss - https://repl.it/@acwoss/QuizzicalStupidParallelalgorithm
Alunos = {
111: {
'nome' : 'Joao',
'curso' : 'ADS'
},
222: {
'nome' : 'Pedro',
'curso' : 'SI'
},
333: {
'nome' : 'Maria',
'curso' : 'SI'
}
}
nomes = (aluno['nome'] for aluno in Alunos.values() if aluno['curso'] == 'SI')
for nome in nomes:
print(nome)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.