x
Menu

Introduction to programming and computer science

Khan Academy,

Updated On 02 Feb, 19

Overview

Introduction to Programs Data Types and Variables - Python Lists - For Loops in Python - While Loops in Python - Fun with Strings - Writing a Simple Factorial Program. (Python 2) - Stepping Through the Factorial Program - Flowchart for the Factorial Program - Python 3 Not Backwards Compatible with Python 2 - Defining a Factorial Function - Diagramming What Happens with a Function Call - Recursive Factorial Function - Comparing Iterative and Recursive Factorial Functions - Exercise - Write a Fibonacci Function - Iterative Fibonacci Function Example - Stepping Through Iterative Fibonacci Function - Recursive Fibonacci Example - Stepping Through Recursive Fibonacci Function - Exercise - Write a Sorting Function - Insertion Sort Algorithm - Insertion Sort in Python - Stepping Through Insertion Sort Function - Simpler Insertion Sort Function

Includes

Lecture 10: Defining a Factorial Function

4.1 ( 11 )


Lecture Details

Defining a function in Python

Ratings

0


0 Ratings
55%
30%
10%
3%
2%
Comments
comment person image

Sam

Excellent course helped me understand topic that i couldn't while attendinfg my college.

Reply
comment person image

Dembe

Great course. Thank you very much.

Reply
Send