RE: Learning Python Part 3
You are viewing a single comment's thread:
Hello @cmplxty great tutorial . I would however like a source code at the end if possible ? That would be super helpful :)
0
0
0.000
You are viewing a single comment's thread:
Hello @cmplxty great tutorial . I would however like a source code at the end if possible ? That would be super helpful :)
Thanks! The code I am using for this is:
num = int(input())
def fibonacci(num):
#complete the recursive function
if num <= 1:
return 1
else:
return ((num-1) + (num-2))
print(fibonacci(num))
!WINE
Cheers, @amr008 You Successfully Shared 0.100 WINE With @cmplxty.
You Earned 0.100 WINE As Curation Reward.
You Utilized 1/3 Successful Calls.
WINE Current Market Price : 0.000 HIVE
lol thanks, could use some wine right about now!
I ended up solving the problem thankfully. I don't remember specifically what it was I had to do but it's done now!