循环

只要条件为真,就会执行 while 循环。

var count = 1

while count < 10 {
    print("This is the \(count) run of the loop")
    count += 1
}