+ 4
Why python dont have postincrement and preincrement?
4 Antworten
+ 6
There are several opinions about it, although as I am not involved with the Python community I can not say much about it. Even so, here you can get information:
https://stackoverflow.com/questions/3654830/why-are-there-no-and-operators-in-python
+ 8
Found it today that Python doesn't have it.. 🤔So how do increment??
a=a+1???
+ 2
just use a += 1
- 1
mla ny mhit