Skip to main content
2 of 2
Commonmark migration

Swift 3, 76 Bytes

func f(_ n:Int,_ x:String="a",_ y:String="b"){if n>1{print(x);f(n-1,y,x+y)}}
Alexander
  • 501
  • 2
  • 6