[Tutor] i++

scott slewin at rogers.com
Tue Jun 5 16:08:03 CEST 2007


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.

-- 
Your friend,
Scott

Sent to you from a Linux computer using Kubuntu Version 7.04 (Feisty Fawn)


More information about the Tutor mailing list