Challenge: Writing First Function
Taak
Swipe to start coding
You are writing a simple function to generate a personalized greeting.
- Define a function called
greeting
that takes a parameter calledname
. - The function should return a greeting in the format:
"Hello, name!"
. - Use the
return
statement to ensure the function outputs the correct result.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 6. Hoofdstuk 4
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Awesome!
Completion rate improved to 1.67
Challenge: Writing First Function
Veeg om het menu te tonen
Taak
Swipe to start coding
You are writing a simple function to generate a personalized greeting.
- Define a function called
greeting
that takes a parameter calledname
. - The function should return a greeting in the format:
"Hello, name!"
. - Use the
return
statement to ensure the function outputs the correct result.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Awesome!
Completion rate improved to 1.67Sectie 6. Hoofdstuk 4
single