Challenge: Write Your First Function
Tehtävä
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.".
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 5.56
Challenge: Write Your First Function
Pyyhkäise näyttääksesi valikon
Tehtävä
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.".
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single