function call

Running a function by writing its name followed by parentheses holding any arguments.

In more detail

When a call runs, the arguments are assigned to the parameters, the body executes, and the call is replaced by the returned value. Without the parentheses you only refer to the function and nothing runs. A call within the same program takes nanoseconds and cannot time out or half succeed, unlike a call over the network to another service.

Example

print(len("hello"))

Related terms

Taught in

References