for case let i in 1...100 where i%3==0{
print(i)
}
let a = (4,0)
if case(let x,0) = a where x>2&&x<5{//设定(声明)值如let x,然后接条件解释如where...,称为解包
print ("example")
}
case + 模式(形式)+where + 细化条件,构成case...where...结构
另外,模式=变量,模式要写在前,变量在后