Lambda Code In Python To Find