Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Recursion with Python

via Codecademy

Overview

Recursion gives you a new perspective on problem-solving by defining a problem in terms of itself.

### Why Learn Recursion?
Recursion gives you a new perspective on problem-solving by defining a problem in terms of itself. This mind-bending concept unlocks new strategies for reducing difficult tasks into a few lines of code. The best part is recursion is a concept which can be used in almost any programming language!

### Take-Away Skills:
You'll be ready to use recursion to write clean and elegant code, and use recursion to ace whiteboarding problems!

### Note on Prerequisites:
You should be comfortable with basic Python syntax, such as functions, lists, loopings, etc.

Syllabus

  • Recursion: Conceptual: Recursion gives you a new perspective on problem-solving by defining a problem in terms of itself.

    • Lesson: Recursion: Conceptual
    • Quiz: Recursion: Conceptual
  • Recursion: Python: Recursion gives you a new perspective on problem-solving by defining a problem in terms of itself.

    • Lesson: Recursion: Python
    • Quiz: Recursion: Python
    • Lesson: Recursion vs. Iteration - Coding Throwdown

Taught by

Kenny Lin

Reviews

4.1 rating at Codecademy based on 45 ratings

Start your review of Learn Recursion with Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.