Hi | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hi

anyone can tell me What does the total += number mean ?

6th May 2018, 5:00 PM
Dyary
Dyary - avatar
3 Answers
+ 2
If you write x += n, it’s basically the same as writing x = x + n. That is, if x = 6, then x += 5 will change x to 11.
6th May 2018, 5:09 PM
DaemonThread
DaemonThread - avatar
+ 5
its good to see u have ur clarification.. just little suggestion when u post a question on question section ask ur question and then on description section u can elaborate ur question.. its not good to post a question starting with hi.. hope u understand
6th May 2018, 5:28 PM
Scooby
Scooby - avatar
0
Thank you so much for clarifying
6th May 2018, 5:11 PM
Dyary
Dyary - avatar