标签:
算术运算符
条件运算符
var score = 65 var rate = score >= 60 ? "及格" : "不及格" // rage = "及格"
5.swift大法-运算符 Operator
原文地址:http://www.cnblogs.com/lancely/p/4863229.html