Am 05.12.2015 um 13:40 schrieb Tony van der Hoff:
Hi,

I'm a relative newbie to python, and this NG, but it's certainly growing
on me.

One thing I'm missing is the increment/decrement operator from C, ie
x++, and its ilk. Likewise x += y.

is there any way of doing this in Python?

Quick answer:

x += y works. (Well, it should.)

x++ doesn't.

Long answer:

I'm sure someone more experienced will come up with one shortly. :-)

Until then I found this:
http://stackoverflow.com/a/1485854

--
Robin Koch
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to