摘要: 1.For-In循环 //集合循环 let names = ["a", "b", "c"] for name in names { print("Hello, \(name)!") } //次数循环 for index in 1...5{ print("Hello! + \(index)") } / 阅读全文
posted @ 2023-08-24 17:20 临易 阅读(5) 评论(0) 推荐(0) 编辑