summaryrefslogtreecommitdiff
path: root/progs/a671.py
blob: 1aee2720271e78cc952e762af5311aac50042cbb (plain)
1
2
3
def large_product(nums1, nums2, N):
    result = sorted([x*y for x in nums1 for y in nums2], reverse=True)[:N]
    return result