[Tutor] what i miss is a C style for loop

Sean 'Shaleh' Perry shalehperry@attbi.com
Tue Oct 22 10:44:01 2002


On Tuesday 22 October 2002 05:13, James Clare wrote:
> variable++ would be better than variable =3D variable + 1
> Python dosen't have that function does it?
> Is there a different short hand way to do variable =3D variable + 1?

a +=3D 1 is all you get.