📜  var i = 2 repeat { i *= i * 2 } while i < 100 print(i) - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:01.054000             🧑  作者: Mango

代码示例2
var i = 2

repeat {
    i *= i * 2
} while i < 100

print(i)