def fib1(n): if n==0: return 0 if n==1: return 1 return fib1(n-1) + fib1(n-2) print fib1(6), fib1(7), fib1(8)