On 12/18/25 01:54, rbowman wrote:
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++, ...

  Well, I know it *works* ... I just choose not
  to do it in Python. Everyone has their 'style'.

https://peps.python.org/pep-0008/

"assignment (+=, -= etc.), comparisons (==, <, >, !=, <=, >=, in, not in,
is, is not), Booleans (and, or, not)."

  But isn't  &&  and  ||  more better ? If the
  meaning is more obscure then it MUST be better !  :-)

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.

  'R' ??? You must have some very special needs !
--
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to