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.

Are we allowed to create dictionaries in our homework?

1
1934865 (700 points)
0 2 4
in News by (700 points)
From what i can gather/what my friends with more coding experience have told, me for a problem like this it would be more effective and easy to use a dictionary (HW2req), are we allowed to use it though?
246 views

3 Answers

g
gpdatu (1110 points)
0 0 9
by (1.1k points)
It's not prohibited in the instructions so I assume they can be used. Plus, I used them and when I submitted my code it didn't give back any error/warning.

Worst case scenario you can just submit another solution since the last submission is the one that counts.
b
benjamin (2490 points)
1 7 21
by (2.5k points)
As long as you don't import other libraries you can use everything python has to offer.
DDave (530 points)
0 0 3
by (530 points)
Asked about it during hw1, everything goes