Like, comment, follow and improve!!!
# In most programming languages, iteration
# can be seen as looping over all the items in a data type e.g:array that stores
# grouped data.
# eg(Python):
list = [1, 2, 3]
for i in list:
print(i)
# On the 1st iteration, i will be equal to 1
# On the 2nd iteration, i will be equal to 2
# On the 3rd iteration, i will be equal to 3
# So, for each running of the code the pointer moves to the next item
of the list.
# eg(Javascript):
let arr = [1, 2, 3, 4, 50]
for(i = 0; i < arr.length; i++){
console.log(arr[i])
}
I am confident that you coders can understand from this piece.
I hope I helped you.
Thanks.