Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Tony van der Hoff Newsgroups: comp.lang.python Subject: increment/decrement operators Date: Sat, 5 Dec 2015 12:40:57 +0000 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net NSovdPd5mUOi9OGeHXjyOwC3ui8vFCN0G/1N0gwQCieLetUggl Cancel-Lock: sha1:5I9F0ZqG7eXn+OXwFAEEGYj+wV4= X-Mozilla-News-Host: news://news.individual.net:119 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.4.0 Xref: csiph.com comp.lang.python:100035 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? TIA, Tony