This comment is hidden because it contains spoiler information about the solution
Omg... I was inconsiderate 🤦 You are absolutely right)
Now everything works as expected.
Thaks!
It's doesn't work. Why? Can someone explain me this?
print(tribonacci([1, 1, 1], 10)) it returns: [1, 1, 1, 3, 3, 5, 7, 11, 15, 23, 33] When the correct answer is [1, 1, 1, 3, 5, 9, 17, 31, 57, 105]
I checked the solution several times and logically everything should normal. But...
Is this the magic of recursion?
Loading collection data...
This comment is hidden because it contains spoiler information about the solution
Omg... I was inconsiderate 🤦
You are absolutely right)
Now everything works as expected.
Thaks!
It's doesn't work. Why? Can someone explain me this?
print(tribonacci([1, 1, 1], 10)) it returns: [1, 1, 1, 3, 3, 5, 7, 11, 15, 23, 33]
When the correct answer is [1, 1, 1, 3, 5, 9, 17, 31, 57, 105]
I checked the solution several times and logically everything should normal. But...
Is this the magic of recursion?