Hello, i wonder how do i get the "for" and "if" to work against a dictionary in one line?
basically i want to "squeeze":
dct= [ 1 : "one", 2:"two", 3:"three"]
for k, val in dct:
if k >= 2:
# do magnificent things
Thank you
AZ
--
https://mail.python.org/mailman/listinfo/python-list
