Fibonacci pattern 4

Could you please explain the code for the 1st question in challenges-pattern.

Explanation
:
(Fibonacci pattern: 0,1,1,2,3,5,8,13,21,…)

you have to print Fibonacci pattern in the foll. form:

0
1 1
2 3 5
8 13 21 34

Reference Code :

i hope this help,
if you have further doubt feel free to ask

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.