summaryrefslogtreecommitdiff
path: root/progs/a388.py
blob: e1d929873cec40e1f29334fa2b0bf8b8675de9ba (plain)
1
2
3
4
5
6
7
def find_Product(arr,n): 
    arr.sort() 
    prod = 1
    for i in range(0,n,1): 
        if (arr[i - 1] != arr[i]): 
            prod = prod * arr[i] 
    return prod;