Sectie 3. Hoofdstuk 6
single
Challenge: Returning a Multiplier Function
Veeg om het menu te tonen
Taak
Veeg om te beginnen met coderen
Write a function that returns another function which multiplies its argument by a fixed number.
- Call the nested function
multiplier. - The returned function must multiply its input by the value of
n. - The outer function must return the inner function.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.