Challenge: Functional Data Analysis
Tâche
Swipe to start coding
Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.
- Use
Mapto combinenamesandagesinto a list of pairs, where each pair contains a name and the corresponding age. - Use
Filterto keep only those pairs where the age is 18 or above.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
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
Génial!
Completion taux amélioré à 5.56
Challenge: Functional Data Analysis
Glissez pour afficher le menu
Tâche
Swipe to start coding
Pair up each element from the names and ages vectors, then filter out any pairs where the age is less than 18.
- Use
Mapto combinenamesandagesinto a list of pairs, where each pair contains a name and the corresponding age. - Use
Filterto keep only those pairs where the age is 18 or above.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 6
single