Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • tryston downing
    tryston downing
    3,453 Points

    i'm not sure why this is not working

    Posted April 18, 2023 5:11pm by tryston downing
    tryston downing
    3,453 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Andy Hughes
    Andy Hughes
    8,479 Points

    Reduce challenge - Where did ‘add’ come from?

    Posted January 5, 2022 4:32pm by Andy Hughes
    Andy Hughes
    8,479 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Tafadzwa Timothy Gakaka
    Tafadzwa Timothy Gakaka
    10,978 Points

    Functional Python

    Posted January 31, 2021 1:45pm by Tafadzwa Timothy Gakaka
    Tafadzwa Timothy Gakaka
    10,978 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Thomas Ma
    Thomas Ma
    15,199 Points

    We need to add two numbers together. We could write a function that does this but that seems silly. Import add from the

    Posted December 1, 2020 11:50pm by Thomas Ma
    Thomas Ma
    15,199 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Kay Pengelly
    Kay Pengelly
    5,985 Points

    Combining reduce and add in functional python

    Posted July 31, 2020 2:59am by Kay Pengelly
    Kay Pengelly
    5,985 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Emily Strobl
    Emily Strobl
    5,429 Points

    dont know what to do

    Posted January 15, 2020 8:03pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Mokanye Tumelo Tricia
    Mokanye Tumelo Tricia
    9,981 Points

    help please

    Posted November 18, 2019 10:20am by Mokanye Tumelo Tricia
    Mokanye Tumelo Tricia
    9,981 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Rutendo Chaurura
    Rutendo Chaurura
    6,810 Points

    This code i not passing

    Posted October 21, 2019 9:58am by Rutendo Chaurura
    Rutendo Chaurura
    6,810 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • Mark Chesney
    Mark Chesney
    11,747 Points

    product_sales, reduce, total, prices

    Posted January 4, 2019 1:46am by Mark Chesney
    Mark Chesney
    11,747 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Mark Chesney
    Mark Chesney
    11,747 Points

    product_sales; reduce()

    Posted January 3, 2019 4:34am by Mark Chesney
    Mark Chesney
    11,747 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Alex Boag-Munroe
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Alex Boag-Munroe
    Python Web Development Techdegree Student 4,932 Points

    I am returning the product of a tuple but the exercise won't continue.

    Posted September 27, 2018 10:18am by Alex Boag-Munroe
    .a{fill-rule:evenodd;}techdegree
    Alex Boag-Munroe
    Python Web Development Techdegree Student 4,932 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Jack Cummins
    Jack Cummins
    17,417 Points

    Please help, I don't know what to do.

    Posted June 29, 2018 1:08am by Jack Cummins
    Jack Cummins
    17,417 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Shangyi Zhu
    Shangyi Zhu
    2,265 Points

    Don't understand why this is not letting me pass. My code works...

    Posted June 21, 2018 3:41pm by Shangyi Zhu
    Shangyi Zhu
    2,265 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • csr13
    csr13
    33,337 Points

    Any guidance is appreciated.

    Posted June 13, 2018 2:52am by csr13
    csr13
    33,337 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Ignatius Matongo
    Ignatius Matongo
    9,418 Points

    this one is cracking me aah

    Posted May 29, 2018 1:02pm by Ignatius Matongo
    Ignatius Matongo
    9,418 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Ignatius Matongo
    Ignatius Matongo
    9,418 Points

    its aaint working

    Posted May 28, 2018 10:41am by Ignatius Matongo
    Ignatius Matongo
    9,418 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • renhe
    renhe
    10,282 Points

    Passing tuple as argument

    Posted May 17, 2017 6:15pm by renhe
    renhe
    10,282 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Dmitry Karamin
    Dmitry Karamin
    10,099 Points

    What output should be

    Posted September 5, 2016 7:46pm by Dmitry Karamin
    Dmitry Karamin
    10,099 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • Chris Grazioli
    Chris Grazioli
    31,225 Points

    I have no idea what the add function/method does, anyone care to explain it

    Posted August 27, 2016 11:52pm by Chris Grazioli
    Chris Grazioli
    31,225 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Calvin Hoag
    Calvin Hoag
    8,515 Points

    Unhelpful error feedback

    Posted July 13, 2016 7:08am by Calvin Hoag
    Calvin Hoag
    8,515 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • James N
    James N
    17,864 Points

    Think i have it, but don't know what to do with reduce()

    Posted April 27, 2016 10:11pm by James N
    James N
    17,864 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    3 Answers

  • Rwiddhi Chakraborty
    Rwiddhi Chakraborty
    2,447 Points

    Functional python

    Posted April 27, 2016 4:01pm by Rwiddhi Chakraborty
    Rwiddhi Chakraborty
    2,447 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Ross Peace
    PLUS
    Ross Peace
    Courses Plus Student 17,401 Points

    reduce , map and add error

    Posted April 22, 2016 4:40pm by Ross Peace
    Ross Peace
    Courses Plus Student 17,401 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • John Shockey
    John Shockey
    45,061 Points

    [SOLVED] Completely stuck on task 4 of 4

    Posted April 15, 2016 11:11pm by John Shockey
    John Shockey
    45,061 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • pala
    pala
    15,913 Points

    python map and reduce question

    Posted December 13, 2015 2:13pm by pala
    pala
    15,913 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • David Axelrod
    David Axelrod
    36,073 Points

    My code runs in workspaces but doesnt pass the challenge.

    Posted September 6, 2015 9:22pm by David Axelrod
    David Axelrod
    36,073 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • nopcoder
    nopcoder
    8,605 Points

    What is the correct use of map, add, reduce and product

    Posted September 6, 2015 4:31pm by nopcoder
    nopcoder
    8,605 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    3 Answers

  • akak
    akak
    29,446 Points

    Functional Python: Create a variable named total.

    Posted September 3, 2015 11:54am by akak
    akak
    29,446 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord