Avatar
Avatar
koher
let x = 42 let a = Int(readLine()!)! switch a { case .zero: Print("0") case x: print("42") default: print("Other") }
switch E.a { case e: print("a") default: break } こういう解釈になる?