Challenge: Generator-Based Pipeline
Tâche
Swipe to start coding
Combine several generators to process a sequence of numbers using a generator-based pipeline.
The pipeline must filter out all odd numbers, square each remaining number, and then yield only those squared values greater than 20.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 6.67
Challenge: Generator-Based Pipeline
Glissez pour afficher le menu
Tâche
Swipe to start coding
Combine several generators to process a sequence of numbers using a generator-based pipeline.
The pipeline must filter out all odd numbers, square each remaining number, and then yield only those squared values greater than 20.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 5
single