class Solution: def FindKthToTail(self , pHead , k ): # write code here k_node = pHead num = 0 while k_node!= None: k_node = k_node.next num+= 1 if num == k: break if num < k or k==0: return None while k_node != None: k_node = k_node.next pHead = pHead.next return pHead