17/03/2019, 18:16
17/03/2019, 23:20
41a3bed2c8a57b62f41f ha scritto:" - create two tect files, name x.txt and y.txt
- in each file, insert two series of 10 numbers of your
choice
- write a script that reads this numbers and computes
their inner prodution
- finally, put this result into a new file named x_y.txt "
41a3bed2c8a57b62f41f ha scritto:testo=open("x_y.txt,"r"")
"r"
? Tra l'altro, non puoi mischiare le virgolette in quel modo: scrivi 'r'
anziché "r"
.41a3bed2c8a57b62f41f ha scritto:In quei file di testo ho scritto delle liste cosi[12,13,14,14,12,12,45,56,78,78]
19/03/2019, 09:42
19/03/2019, 11:27
19/03/2019, 12:13
19/03/2019, 13:11
19/03/2019, 13:23
19/03/2019, 21:43
21/03/2019, 15:46
Skuola.net News è una testata giornalistica iscritta al Registro degli Operatori della Comunicazione.
Registrazione: n° 20792 del 23/12/2010.
©2000—
Skuola Network s.r.l. Tutti i diritti riservati. — P.I. 10404470014.
Powered by phpBB © phpBB Group - Privacy policy - Cookie privacy
phpBB Mobile / SEO by Artodia.