0
What is loops ??
2 Answers
+ 2
loops are pieces of codes that repeat instructions according to parameters, i.e. number of times or met conditions.
here you can learn more about the for loop, but I suggest to look also for foreach loop,while loop and do while loop
https://en.m.wikipedia.org/wiki/For_loop
loops are very useful, even though in some circumstances the same result can be achieved using recursive functions.
here you can read about recursion and the functional programming,if you are interested :)
https://en.m.wikipedia.org/wiki/Recursion_(computer_science)
0
An event that repeats a certain number of times