Vai al contenuto principale
๐Ÿ”’ Modalitร  anteprima. Le prime quindici lezioni di Foundations sono gratuite; questa รจ Pro. Avvia un trial di 7 giorni per sbloccare l'editor, i suggerimenti AI e il resto del programma. Carta richiesta, disdici in qualsiasi momento dalla Dashboard.Avvia trial di 7 giorni โ†’
โšก
โ† Corsiโ€บPython FoundationsModulo 7 ยท Libreria standard avanzataโ€บCAPSTONE: downloader di file parallelomission149 / 174
+250 XP
Compito๐ŸŒ shown in EN
๐Ÿ“ **Task:** Complete the function. Use the provided skeleton: \`download(url)\` should increment \`stats["ok"]\` under the lock and return \`f"got {url}"\`. Then run it on \`["a", "b", "c"]\` with a ThreadPoolExecutor(max_workers=3) and finally print \`stats["ok"]\`.\nExpected: 3 ๐Ÿ“‹ Edit the starter code below. Tests run automatically. ๐Ÿ’ก **Hint:** Re-read the theory if you get stuck.
โœ๏ธ Scrivi il tuo codice qui
๐Ÿ
Caricamento Python...
Download una tantum (~1 MB). Poi รจ istantaneo.
๐Ÿ“Š Risultato
Premi Esegui per vedere il risultato...