Article From:https://www.cnblogs.com/sea-stream/p/9971278.html
def multiply_list(items): tot = 1 for x in items: tot *= x return tot print(multiply_list([1,2,-8]))
Link of this Article: Python outputs the product of all list elements
java python html css php vue.js docker c# android ios
def multiply_list(items): tot = 1 for x in items: tot *= x return tot print(multiply_list([1,2,-8]))