Ad
  • Custom User Avatar

    remove the def show_sequence(n) at the top, and one of the ends at the bottom.

    Your show_sequence function is inside the self.show_sequence method. The method is called but the inner function is not.