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.

Lista di ipotesi [HW5.1]

restante.giuseppe (2480 points)
7 32 49
in Es1 by (2.5k points)
closed by

Buonasera,
dato che le ipotesi sono statiche si potrebbe creare una lista che ha di default tutte le possibilità senza calcolarle?

ES

ipotesi = [0,1,2,3,4,5] ... [9,8,5,4,3,2]

1 Answer

Best answer
andrea.sterbini (207940 points)
756 1270 2377
by (208k points)
selected by
No, potete calcolare e memorizzare in variabili globali quello che volete, ma non tabellarle nel codice.
restante.giuseppe (2480 points)
7 32 49
by (2.5k points)
Grazie mille.