I am not getting right answer

hello @architsuryavanshi
a) dont delcare this globally
image
put them inside fibonnaci function.

b) also while calling fibbonnaci function u need to pass the position of fibonnaic number that u want to print.

check this code ->

why i==2 and j==2 is here

this is to print 3rd fib number.

see it is just implementation . u can try ur own way, it need not to contain i==2 ,j==2 condition

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.