while loop
suggest changeA while
loop will execute as long as the condition is true.
var count = 1
while count < 10 {
print("This is the \(count) run of the loop")
count += 1
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents