You can use += as an increment operator. a += 1 #a = a + 1 same thing but to a c++ programmer the first makes sense too.
You can use += as an increment operator.
a += 1 #a = a + 1
same thing but to a c++ programmer the first makes sense too.