0
Will.prefix and postfix version of addition and subtraction work in python same as it works in c/c++
Tried printing the value (x++) it gave an error , tried another way by x=x++ , still an error
1 Réponse
0
It's not possible and I doubt it will ever be introduced.
The closest thing Phython has is "x+=1", but most of the times it's not a direct replacement for "x++/++x".