def product_of_tuple(tuple_data):
    ""
    Calculate the product of all elements in a tuple
    ""
    product = 1
    for num in tuple_data:
        product *= num
    return product
my_tuple = (2, 3, 4, 5)
result = product_of_tuple(my_tuple)
print(f"The product of {my_tuple} is: {result}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: