Swift3.0 元组 (tuples)
//元组 //不需要的元素用 _ 标记 let (name,age,_) = ("明明","10","男") print(name,age) //通过下标访问特定的元素 let student = ("明明","10","男") print(student.0,student.1,student.2) let bobo = (name:"波波",age:"24") print(bobo.name,bobo.age)
人生有目标,才是开心的