Lambda Cut Method In Python Programming