integers

Aahz Maruch aahz at panix.com
Tue Jun 5 15:52:42 EDT 2001


In article <9fjd8q$qb6$1 at charm.magnus.acs.ohio-state.edu>,
Locke <osu-nntp at portzer0.virtualave.=NOSPAM!!!=net> wrote:
>
>is there such thing as
>someint++
>or
>someint--
>or
>someint += 2
>in python??

If you use Python 2.x, you can use someint+=2
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"Do not taunt happy fun for loops. Do not change lists you are looping over."
--Remco Gerlich, comp.lang.python



More information about the Python-list mailing list