Challenge: Create and Access Lists
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 2
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 5.56
Challenge: Create and Access Lists
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 2
single