Created
May 18, 2018 00:49
-
-
Save acwoss/34e37f937b3989c02ff94d9e3caeac90 to your computer and use it in GitHub Desktop.
QuizzicalStupidParallelalgorithm created by acwoss - https://repl.it/@acwoss/QuizzicalStupidParallelalgorithm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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