127k views
0 votes
What does i+=1 in python mean​

1 Answer

2 votes

Answer:

Step-by-step explanation:

i+=i means the i now adds its current value to its self so let's say i equals 10 using this += expression the value of i will now equal 20 because you just added 10 to its self.

User RickyB
by
8.1k points

No related questions found