i++ in Python?

OtisUsenet otis_usenet at yahoo.com
Thu Jul 18 18:29:58 EDT 2002


Hello,

Python newbie question.  How does one do something like this in
Python:

    # assign the value of j to i and then increment j by 1
    i = j++


I checked the FAQ at http://www.python.org/doc/FAQ.html, but this
simple question wasn't covered :)  I can't find it in 2 Python books
either.

Thank you.



More information about the Python-list mailing list