func pascal(n:Int)->[Int]{ if n==1{ let a=[1] print(a) return a } else{ var a=pascal(n:n-1) var temp=a for i in 0..