# Factorial Function

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

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.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7460017,"math_prob":0.6949575,"size":641,"snap":"2022-05-2022-21","text_gpt3_token_len":122,"char_repetition_ratio":0.12872842,"word_repetition_ratio":0.0,"special_character_ratio":0.16380656,"punctuation_ratio":0.0754717,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96688485,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-05-17T03:59:55Z\",\"WARC-Record-ID\":\"<urn:uuid:b1a54c89-258b-4ddc-a68d-7afdbe430700>\",\"Content-Length\":\"40684\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6235d031-cd75-4556-8966-07ac29518e32>\",\"WARC-Concurrent-To\":\"<urn:uuid:21eac901-0b7d-458c-b080-dc2dcd5d4bea>\",\"WARC-IP-Address\":\"173.247.219.45\",\"WARC-Target-URI\":\"https://www.onlinemathlearning.com/factorial-function.html\",\"WARC-Payload-Digest\":\"sha1:HFSVAHKRP47Q7X5DPA4IIYAT2LXUS23X\",\"WARC-Block-Digest\":\"sha1:HBDBNLUNP22XTVDDJ3PD7EILKRPZ53BJ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-21/CC-MAIN-2022-21_segments_1652662515501.4_warc_CC-MAIN-20220517031843-20220517061843-00157.warc.gz\"}"}