Subset Program In Python To Find