ProLesson 3 of 36 min read
Functions: reusing code with parameters and return values
See how functions package code under a name, take inputs through parameters, and hand back results with return.
Vidi Pro
Keep going with Pro.
The first lesson of every class is free. Pro opens every lesson in IELTS, Programming, Mathematics, Science and Data and AI, with practice questions.
Already have Pro? Log in to keep reading.
Written with AI help. Spotted a mistake? Tell us.