Last active
August 29, 2015 14:04
-
-
Save elpargo/e2a8803bf61605662244 to your computer and use it in GitHub Desktop.
esto es lo que propones ?
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
for v in lista: | |
if lista[v] == idb: | |
lista[v] = ida | |
[a==5 and "change" or a for a in range(10)] | |
[0, 1, 2, 3, 4, 'change', 6, 7, 8, 9] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gracias.. lo deje asi :
[self.add(v,ida) for v in self.lista if self.lista[v]==ida]