The study plan
›
🧩 Programming
›
Programming basics Lesson 18 · A function with an argument Programming basics · 3 min · See the playlist on YouTube ↗
✓ You already watched this lesson
Your progress is saved only in this browser, in a cookie of our own. It is never sent anywhere.
A function is the recipe, and the argument is the ingredient you change each time: a slot where you pass in a different piece of data on every call.
🎯 The challenge of this lesson Change the double function so it takes two numbers and writes their sum, and call it three times with different pairs.
Practise in the app
← Previous: Functions
Next: Plotting random numbers → Stuck on this lesson? Write your question and another student — or the teacher — will answer. Your email is never published : it is only used to let you know when someone replies.
One module is still missing — and you can already get certified The Projects module, where the three tracks converge, is still in production : it is the only one left to publish. Everything else is complete.
There is no need to wait for it. Email me asking for your certification exam and we will arrange the assessment right there. The exam costs $60 USD and is free for a limited time .