New course! Every coder should learn Generative AI!
Try a free lesson0
Is there a difference between += and =+?
2 Answers
0
=+ wont work, += means that variable next to operator should be added to the original value of variable
0
x+= means x = x + 1 I think