test python in leetcode