BartC wrote:

So why pretend that ++ and -- don't exist?

Probably because Python would gain very little from
having them.

Main uses of ++ in C are things like integer for
loops:

   for (i = 0; i < 10; i++) {...

and stepping through arrays:

   a[i++] = b[j++];

Python code usually operates at a higher level than
that.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to