What is the meaning of += in Python 3.8 ?
▪ You know how in English we can rewrite "it is" to be "it's"?
▪ Or we can rewrite "you are" to "you're?
▪ That's called contraction, and this is kind of like a contraction for the two operations = and +.
▪ That means x = x+y is the same as x += y.
Top comments (0)