increment variable in python code example
Example 1: increment python
number += 1
Example 2: python increment by 1
#a = a + 1
a += 1
Example 3: increment by 1
#increment by 1
a += 1
number += 1
#a = a + 1
a += 1
#increment by 1
a += 1