摘要: 1.For-in循环中... for index in 1...5 { print("\(index) times 5 is \(index * 5)") } for _ in 1...5 { 可以用下划线忽略当前值 } 2.字典通过元祖返回 3.do while循环变成repeat repeat 阅读全文
posted @ 2016-11-30 16:36 浪味小仙女 阅读(281) 评论(0) 推荐(0) 编辑