-1

It should look like 1,1,2,3,5 but i can't find out how to do print like this, i've tried with .join but it's not working.

fib_b = int(input("Fibonacci number? "))
def fib():
    if n<=1:
       return 1
    else:
       return fib(n-1) + fib(n-2)
fibs= [fib(i) for i in range(fib_n)]
**print (fibs)**
JJJ
  • 32,902
  • 20
  • 89
  • 102

1 Answers1

-2

What you are looking for seems similar to this. Please check if this answers your query.

Community
  • 1
  • 1
Cypher
  • 89
  • 2
  • 10
  • 1
    While this may answer the question, it is better to provide the actual information here and not just a link. [Link-only answers are not considered good answers and will probably be deleted](http://stackoverflow.com/help/deleted-answers). – elixenide Nov 26 '16 at 00:46