迴圈

只要條件為真,就會執行 while 迴圈。

var count = 1

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