0
What is the use of loop
In python
2 Réponses
+ 12
You can go through this once again
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2281/
https://www.sololearn.com/learn/Python/2435/
+ 1
Loops are used when we want to run same piece of code more than one time. As an example, you want to print 1 to 100, will you print them using print() ? Well, you can do this but still its a bad practice and increases LOC. Thus, we use loop.