Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100035

increment/decrement operators

From Tony van der Hoff <tony@vanderhoff.org>
Newsgroups comp.lang.python
Subject increment/decrement operators
Date 2015-12-05 12:40 +0000
Message-ID <dcg4apF3gq3U1@mid.individual.net> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

increment/decrement operators Tony van der Hoff <tony@vanderhoff.org> - 2015-12-05 12:40 +0000
  Re: increment/decrement operators Robin Koch <robin.koch@t-online.de> - 2015-12-05 13:56 +0100
    Re: increment/decrement operators Tony van der Hoff <tony@vanderhoff.org> - 2015-12-05 14:14 +0000
    Re: increment/decrement operators "D'Arcy J.M. Cain" <darcy@VybeNetworks.com> - 2015-12-05 09:41 -0500
    Re: increment/decrement operators Terry Reedy <tjreedy@udel.edu> - 2015-12-05 10:43 -0500
      Re: increment/decrement operators BartC <bc@freeuk.com> - 2015-12-05 17:18 +0000
        Re: increment/decrement operators Ian Kelly <ian.g.kelly@gmail.com> - 2015-12-07 17:24 -0700

csiph-web