标签:style color sp for bs nbsp c print swift
for in循环
for 被乘数 in 1...5{
println("\(被乘数) 乘以 5 等于 \( 被乘数 * 5)");
}
let 女神们 = ["小林","小王","小花","lilei","hanmeimei"]
for 女神 in 女神们{
println("女神");
}
let 女神跟我讲话次数 =["小林" : 12, "小王":45, "小花": 98, "lilei":76, "hanmeimei":38]
for (女神 : 跟我讲话次数) in 女神跟我讲话次数 {
println("罗帅与\(女神)讲话的次数\(跟我讲话次数)");
}
标签:style color sp for bs nbsp c print swift
原文地址:http://www.cnblogs.com/liruoxuan/p/4085610.html