Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what does += mean in Python

x = 0
while x < 5: 
  print(x)
  x += 1   #the x += 1 expression is a shortend version for x = x + 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python
ADD COMMENT
Topic
Name
8+4 =