Don't understand this python def program

后端 未结 0 1954
失恋的感觉
失恋的感觉 2021-02-11 18:17
def compute(numbers):
    result = 1
    for num in numbers:
        result *= num - 3
    return result

values = [6, 7, 5]
computed_value = compute(values)
print(compu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题