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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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,293 Points

    Any guidance is appreciated.

    Posted June 13, 2018 2:52am by csr13
    csr13
    33,293 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.