Shape Shape

Recursive Function

Recursive Function is a function that calls itself to solve a problem. Used in programming for tasks like traversing trees or calculating factorials.

Example:

A Python function calculates factorial using recursion.

WhatsApp Icon