Factorial Function

A series of video lessons on the Python Programming Language given by Khan Academy.

Share this page to Google Classroom

Defining a Factorial Function

Diagramming What Happens with a Function Call
Variable scope and function calls

Recursive Factorial Function
Introduction to recursion.

Comparing Iterative and Recursive Factorial Functions

Try the free Mathway calculator and problem solver below to practice various math topics. Try the given examples, or type in your own problem and check your answer with the step-by-step explanations.
Mathway Calculator Widget

We welcome your feedback, comments and questions about this site or page. Please submit your feedback or enquiries via our Feedback page.