Could someone give me a hand on this problem? I want to show that a bounded function having a convergent sequence of discontinuous points is Riemann integrable.

I was able to show that that a function bounded function having finitely many discontinuous points is Riemann integrable.

I think I need to come up with a partition P such that for this problem.