resolucion de problema
No notes
Syntax:
Python
mi_d = {1:'a', 2:'b', 3:'c'} mi_c = set(['a','c']) res = [] for c in mi_c: for x in mi_d: if mi_d[x] == c: res.append(x) print res
mi_d = {1:'a', 2:'b', 3:'c'} mi_c = set(['a','c']) res = [] for c in mi_c: for x in mi_d: if mi_d[x] == c: res.append(x) print res