0
What occurs with +/-=3?
What's the negative or plus sign before = do?
3 Answers
+ 3
x += 3 is same as x = x+3
and so on
+ 3
This += , or -= etc are known as short hand operator, So as Lily Mea have mentioned that x += 3 is same as x = x + 3 ,so it's same with other also like for multiply x *= 3 etc. It is given in python course!!
https://code.sololearn.com/c1Drn4iro5Ay/?ref=app
0
Lily Mea Thanks!