📜  快速循环站点:stackoverflow.com - Swift 代码示例
📅  最后修改于: 2022-03-11 15:01:03.649000             🧑  作者: Mango
代码示例1
let (first, last, interval) = (0, 100, 1)
var n = 0
for _ in stride(from: first, to: last, by: interval) {
n += 1
}