I am on python version 3.4.1 and when I run the code:
def fibo(n):
if n == 1 or n ==2:
return 1
else:
return fibo(n-1)+fibo(n-2)
print("input number for fibonacci seq list")
num = int(input())
for i in range(0,num):
print(str(fibo(i)))
I would want the code to give me a list of the fibonacci numbers that the user input but I get the error mentioned in the title. I am not sure why.