你可以这么理解func newChooseFunction(which:Bool)-> ( (Int)->Int ) {(Int) -> Int 是一个函数类型 表示一个函数,输入一个Int参数返回值是Int从代码逻辑上也能看出newChooseFunction是返回了一个函数的