MZ2005
MZ2005 · Type Error · ERROR
Undefined Function
A function was called but has not been defined.

Cause

The function name used in the call expression does not match any defined function.

Examples

Example 1

Problem:

result = calculate(5, 3)

calculate is not defined.

Fix:

Define the function before calling it, or check the spelling.

Hint

Check the function name spelling. Functions are case-sensitive.

Suggestion

Define the function, or import the module that contains it.

Related