How to update value in dictionary?

ssecorp circularfunc at gmail.com
Wed Aug 27 15:40:30 CEST 2008


dict.update({"a":1}) SETS the dict item "a" 's value to 1.

i want to increase it by 1. isnt that possible in an easy way? I
should use a tuple for this?



More information about the Python-list mailing list