I had made this code but couldn’t get the exact output, please do the necessary changes.
Cant get the exact output
hello @aatmictiwari19 could you please share the question link so that i can see the constraints and all .
i am unable to find the question on hackerblocks
Yeah sure
Take N (number of rows), print the following pattern (for N = 4)
0
1 1
2 3 5
8 13 21 34
Output Format
Sample Input
4
Sample Output
0
1 1
2 3 5
8 13 21 34
Explanation
Each number is separated from other by a tab. For given input n, You need to print n(n+1)/2 fibonacci numbers. Kth row contains , next k fibonacci numbers.
hey @aatmictiwari19 i have corrected your code
please go through the code and try to understand what changes i have made .
if you feel that you are not able to understand anything you can ask here .
Happy Learning !!
Thank you so much for your hep 
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.