add python solution for K-Difference