On Wed, 17 Dec 2025 23:02:24 -0500, c186282 wrote: > Oh, I usually write "i=i+2". It's a bit more clear and becomes the > same code anyway. += is more a 'C' thing.
And Python, C#, JavaScript, C++, ... https://peps.python.org/pep-0008/ "assignment (+=, -= etc.), comparisons (==, <, >, !=, <=, >=, in, not in, is, is not), Booleans (and, or, not)." There's some benighted language that does not have += etc. Maybe R. I looked at that briefly before deciding anything I could do in R I could do in Python without learning new weirdness. -- https://mail.python.org/mailman3//lists/python-list.python.org
