What's wrong here

I think i have written correct code… why it is showing wrong answer

In the question it is mentioned that ‘C’ is the helper.
So change line 22 to tower_of_henoi(n,‘A’,‘C’,‘B’); and then check