Whats the mistake here ? I have tried this without watching video

@kunaldude04 you were making comparisons, also the base condition should be (n<=1) instead of (n == 0).
I have modified your code a little. Hope this helps.