0
How do I loop adding a number to an variable
So let's see.... My variable name is x and I want to loop adding a number to x. How?
4 Réponses
+ 2
DRA701 Yes you can use but don't forget to write break otherwise loop will run forever.
0
Well, there are many solutions for that. You could use a for loop, a good old fashioned while loop, or even use reduce, for loops or for each if the values you want to add are part of an array.
0
Bryan Moreno can I use python's while True loop?
0
I Am Groot ! Thanks