# Write a Python program to List product excluding duplicates # Python 3 code to demonstrate# Duplication Removal List Product# using naive methods# getting Productdef prod(val) :    res = 1    for ele in val:        res *= ele    return res # initializing listtest_list = [1, 3, 5, 6, 3, 5, 6, 1]print ("The original list is : " + str(test_list))# using naive method# Duplication Removal List Productres = []for i in test_list:    if i not in res:        res.append(i)res = prod(res)# printing list after removalprint ("Duplication removal list product : " + str(res))