Help Needed in debugging(Remove all pi)

Could you tell me what changes are required as my code is not showing the correct output?

@utkarshvashisth94 you haven’t saved your code in the code pair please save the code and send me the link.