/**
Range
区间运算符中 1...3 包含1、2、3
1..<3 包含1、2
*/
let range = 1..<3
/**
Cannot assign value of type 'Int' to type 'Range<Int>'
*/
// range = 8
/**
it will be removed in Swift 3. Use the '..<' operator.
*/
let range1:CountableRange<Int> = (0 ..< 5);
let range2 = 0...7
let range3 = 0..<7
print("------->")
print(range)
print(range1)
print(range2)
print(range3)