Kansas men’s basketball team had a fight on its hands for most of the way against the last-place team in the Big 12.