dizionario = {1:True, 2:True, 3:False, 4:True} Come faccio ad eliminare tutti gli elementi del mio dizionario aventi valore False??
Il giorno 10 marzo 2010 22.17, Valerio Turturici < turturici.vale...@gmail.com> ha scritto: > Nicola Ferrari ha scritto: > > Ciao.. > > ho un dizionario e vorrei eliminare tutti quelli che hanno lo stesso > > valore.. > > Come posso fare? > > > Tutti chi? Quale valore? > > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python > -- Nicola Ferrari website: http://www.nicolaferrari.name skype: nick.ferro
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python