Challenge: Write Your First Function
Taak
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.".
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 5.56
Challenge: Write Your First Function
Veeg om het menu te tonen
Taak
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.".
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 2
single