Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

Possiamo usare la funzione "reduce" Homework

c
cristian (2770 points)
3 17 29
in Es2 by (2.8k points)
closed by
Possiamo usare la funzione"reduce"?
384 views
closed with the note: answered

2 Answers

Best answer
Z
ZeroCrystal (4390 points)
7 14 46
by (4.4k points)
selected by

La funzione reduce fa parte del modulo functools, perciò è bandita da questo homework.

B
Ballants (3110 points)
2 4 20
by (3.1k points)
  • ATTENZIONE: potete usare SOLO la libreria math

Se non sbaglio bisogna importare un'altra libreria... quindi no