scott wrote: > Hi, > > is there any way in Python to simply add or subtract one from a > variable like i++ or i--? I don't mind doing a i = i + 1, but would > prefer something more simple and faster.
i += 1 There are no ++ or -- operators in Python. Kent _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
