func getFinboNum(num: Int) ->Int{
if num == 1 || num == 2 {
return 1
}
return (getFinboNum(num: num - 1) + getFinboNum(num: num - 2))
}
for month in 1...10{
print("(month):(getFinboNum(num: month))")
}
func getFinboNum(num: Int) ->Int{
if num == 1 || num == 2 {
return 1
}
return (getFinboNum(num: num - 1) + getFinboNum(num: num - 2))
}
for month in 1...10{
print("(month):(getFinboNum(num: month))")
}