Prоducts is а list оf prоducts. Eаch product comprises а dictionary with the keys product_id, product_name, and product_price. For example: products = [ { name: "bread", price: 15, quantity:15 }, { name: "dozen eggs", price: 25, quantity: 20 } ] Write a function get_product_details. The function should have 2 parameters. The first parameter is the name of a product. The second parameter is the products list (but can be any iterable containing products). The function should return a dictionary of the product details. If the product is not found, raise KeyError.Write a function copy_products that copies a products list (parameter) to a single dictionary (return value).Write a function get_product_details2, similar to get_product_details, but using a products dictionary instead.