On Aug 27, 2:40 pm, ssecorp <[EMAIL PROTECTED]> wrote:
> 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?

dict["a"] += 1

Iain
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to