Log in Sign up
Learn Coach About Donate
  • Home
  • Knowledge Map
  • Math
    MathKnowledge Map
    • Arithmetic and pre-algebra
    • Probability and statistics
    • Algebra
    • Differential equations
    • Geometry
    • Linear algebra
    • Trigonometry and precalculus
    • Applied math
    • Calculus
    • Recreational mathematics
  • Science & Economics
    Science & Economics
    • Biology
    • Microeconomics
    • Chemistry
    • Macroeconomics
    • Physics
    • Computer science
    • Cosmology and astronomy
    • Healthcare and medicine
    • Organic chemistry
    • LeBron asks
    • Finance and capital markets
    • Projects
  • Computer Science
    Computer Science
    • Drawing
    • Animation
    • Programming Basics
    • User Interaction
  • Humanities
    Humanities
    • World History
    • American Civics
    • Art History
  • Test Prep
    Test Prep
    • SAT Math
    • California Standards Test
    • GMAT
    • Competition Math
    • CAHSEE
    • IIT JEE
  • Partner Content
    Partner Content
    • Stanford School of Medicine
    • MIT+K12
  • Talks and Interviews
  • Coach Resources
  • Browse all videos
Computer science
Introduction to programming and computer science
Subscribed Subscribe
  1. Introduction to Programs Data Types and Variables
  2. Binary Numbers
  3. Python Lists
  4. For Loops in Python
  5. While Loops in Python
  6. Fun with Strings
  7. Writing a Simple Factorial Program. (Python 2)
  8. Stepping Through the Factorial Program
  9. Flowchart for the Factorial Program
  10. Python 3 Not Backwards Compatible with Python 2
  11. Defining a Factorial Function
  12. Diagramming What Happens with a Function Call
  1. Recursive Factorial Function
  2. Comparing Iterative and Recursive Factorial Functions
  3. Exercise - Write a Fibonacci Function
  4. Iterative Fibonacci Function Example
  5. Stepping Through Iterative Fibonacci Function
  6. Recursive Fibonacci Example
  7. Stepping Through Recursive Fibonacci Function
  8. Exercise - Write a Sorting Function
  9. Insertion Sort Algorithm
  10. Insertion Sort in Python
  11. Stepping Through Insertion Sort Function
  12. Simpler Insertion Sort Function
Python Programming
  • Python Programming

  • Community Questions
Computer science
Introduction to programming and computer science
Subscribed Subscribe
  1. Introduction to Programs Data Types and Variables
  2. Binary Numbers
  3. Python Lists
  4. For Loops in Python
  5. While Loops in Python
  6. Fun with Strings
  7. Writing a Simple Factorial Program. (Python 2)
  8. Stepping Through the Factorial Program
  9. Flowchart for the Factorial Program
  10. Python 3 Not Backwards Compatible with Python 2
  11. Defining a Factorial Function
  12. Diagramming What Happens with a Function Call
  1. Recursive Factorial Function
  2. Comparing Iterative and Recursive Factorial Functions
  3. Exercise - Write a Fibonacci Function
  4. Iterative Fibonacci Function Example
  5. Stepping Through Iterative Fibonacci Function
  6. Recursive Fibonacci Example
  7. Stepping Through Recursive Fibonacci Function
  8. Exercise - Write a Sorting Function
  9. Insertion Sort Algorithm
  10. Insertion Sort in Python
  11. Stepping Through Insertion Sort Function
  12. Simpler Insertion Sort Function
 
  • About
  • Our Mission
  • Blog
  • Our Team
  • Our Interns
  • Our Supporters
  • Discovery Lab
  • MCAT Video Competition
  • Help
  • Report a Problem
  • FAQ
  • Contact Us
  • Contact
  • Press
  • Coaching
  • Coach Dashboard
  • Teacher Toolkit
  • Coaching Tips
  • Pilot Schools
  • Careers
  • Full Time
  • Internships
  • More
  • Donate
  • Contribute
  • Shop KA
  • International
  • Translate our content
  • Social
  • Facebook
  • Twitter
  • Life at KA
Terms of Use
Privacy Policy
© 2013 Khan Academy
Except where noted, all rights reserved.