++
is not operator
. It's just a combination of two +
operator
.
As you know, there is no point in putting +
in front of the int
type variable.
in other words
++a
= +(+a)
= a
This is.
If you want to calculate ++
and --
of C,
Python requires +=1
and -=1
.
Python is a language that values consistency and readability.
This is not Python because ++
and --
can produce different results depending on the potential/post.
In addition, theoretically, ++
and --
operations are faster
These days, the compiler optimizes the code on its own, so I don't think you need to pay much attention to the performance.
577 PHP ssh2_scp_send fails to send files as intended
597 GDB gets version error when attempting to debug with the Presense SDK (IDE)
606 Uncaught (inpromise) Error on Electron: An object could not be cloned
885 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.