//While loops: A while loop performs a set of statements until a condition becomes false. These kinds of loops are best used when the number of iterations is not known before the first iteration begins. Swift provides two kinds of while loops: while evaluates its condition at the start of each pass through the loop. (see more at: developer.apple)

var a = 1

while a <= 10 {

    print (a)

    a = a+1

}


Happy coding, friends! 

M