August 2024
Intermediate to advanced
256 pages
5h 34m
English
To call a function, use the function name followed by parentheses. Within the parentheses, provide any necessary arguments or leave them empty if the function doesn’t require any.
For example, to call the addNum() function we defined above
result = addNum(4, 4)
This is what happens when we call the function. Arguments 4 & 4 are passed to the function.

The function adds these together then returns the result to the function call.
Read now
Unlock full access