Challenge: Write Your First Function
Tarea
Swipe to start coding
Create a function that introduces a person using their name and age.
- The function
introduce_personmust take two arguments:nameandage. - The function must return a string in the format:
"Hello, my name is <name> and I am <age> years old.".
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
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Genial!
Completion tasa mejorada a 5.56
Challenge: Write Your First Function
Desliza para mostrar el menú
Tarea
Swipe to start coding
Create a function that introduces a person using their name and age.
- The function
introduce_personmust take two arguments:nameandage. - The function must return a string in the format:
"Hello, my name is <name> and I am <age> years old.".
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 2
single