Atom

Anonymous functions

An anonymous function has no declaration name. It is still a value you can save in a variable or pass to another function.

Save a function in a variable

Assign a function expression to twice, then call it.

Atom
twice = func(value):
    return value * 2

print(twice(7))
Output
14

twice holds the function value. The parentheses call it with 7.