Mi sto esercitando per l'esame facendo vecchie prove degli anni passati. Attualmente sto facendo la prova del 20.12.22 con la traccia seguente "Define a function func3(listA, listB, listC, pathname) that takes three lists of numbers (integers or floats) and returns a new list where each element is obtained considering the sum between the corresponding elements of the lists listA and listB, sum multiplied for the corresponding element of listC. The list built as above has to be written, one value for each row, in a text file, with name pathname, The function has to return the maximum value of the built list.". Tutto molto chiaro se non avessi un errore che mi dice che i file di testo sono diversi, vado per controllare e sono esattamente identici. Sicuramente riguarda il modo in cui ho scritto i file che non e uguale a quello che si aspettano i test. Io ho usato una semplice concatenazione di stringhe usando + \n per andare a capo. Dovrei fare diversamente?