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.

Problem of a exercise inside "Programming exercises"

Nilats (3750 points)
8 14 29
in Exam exercises by (3.8k points)
closed by

The first exercise under the tag of "Images"

"Given as inputs 3 files, 2 images and a text file, modifies some pixels of the first image, specified in the text file, and saves the new image in the second image, returns the number of pixels modified."
has 3 blank txt files that are supposed to be filled with 6 integers each line.
 
326 views
closed with the note: solved

1 Answer

andrea.sterbini (207920 points)
749 1267 2373
by (208k points)
You mean exercise 42? Re-download the zip, the files are there.

Are you sure you used mode='r' in your open?
Nilats (3750 points)
8 14 29
by (3.8k points)

Oh yeah, I accidentally wrote "w", so it erased my filesfrown