A while loop is a control structure that allows us to repeat a number of operations multiple times. In contrast to a for loop the while loop takes only a condition and repeats as long as the condition holds.

Continue reading