Challenge: Create and Access Lists
Tâche
Swipe to start coding
Create a function that builds a list representing a student's profile and allows access to specific elements.
- The function must return a list with four elements:
name,age,grades, andpassed. - The
gradeselement must be a numeric vector. - The
passedelement must be a logical value. - The main execution must access and print the
gradesandpassedelements from the list.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
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: Create and Access Lists
Glissez pour afficher le menu
Tâche
Swipe to start coding
Create a function that builds a list representing a student's profile and allows access to specific elements.
- The function must return a list with four elements:
name,age,grades, andpassed. - The
gradeselement must be a numeric vector. - The
passedelement must be a logical value. - The main execution must access and print the
gradesandpassedelements from the list.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
single