Write a function that applies in turn the operators listed in to the . The data is a list of integers. Then is a string of length made up of the characters ’+’ and ’*’ standing respectively for sum and product. The result of the function is to be the outcome of the operations in left-to-right order both of and of : the first operator is applied to the first two integers, the second operator is applied to the outcome and the third integer, and so on.
Author: José Luis Balcázar
Generation: 2026-01-25T16:54:50.940Z
© Jutge.org, 2006–2026.
https://jutge.org