Challenge: Functional Data Analysis
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Fantastisk!
Completion rate forbedret til 5.56
Challenge: Functional Data Analysis
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single