Get your taxes done using TurboTax

Two options. since withdrawals and distributions you received= your tax basis you have no taxable gain or loss unless there was a supplemental/schedule report indicating section 751 recapture. if 751 recapture is not reported you can use the sale of partnership section of the k-1 to report this.

either enter 0 as sales price and 0 as your  tax basis/cost

or enter withdrawals and distributions as sales price and the same amount as your basis/cost.