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

New No-Code Track! 🚀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
    • 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
  • 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
    • Showing results for:
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce
    • Close
  • Joel Sprunger
    Joel Sprunger
    5,448 Points

    Syntax question for boolean decisions

    Posted on Jul 9, 2020 by Joel Sprunger
    Joel Sprunger
    5,448 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Ross Coe
    Ross Coe
    5,061 Points

    Can you explain how an empty list can be passed in long_total and that's not seen as None?

    Posted on Sep 20, 2018 by Ross Coe
    Ross Coe
    5,061 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • amalsree
    amalsree
    2,396 Points

    expected reduce to return the final returned product (single value) but got the recursive representation of computation

    Posted on Aug 15, 2018 by amalsree
    amalsree
    2,396 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • Qian Chen
    Qian Chen
    33,579 Points

    I don't understand why the long_total function

    Posted on Sep 14, 2016 by Qian Chen
    Qian Chen
    33,579 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    0 Answers

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    not books

    Posted on May 17, 2016 by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    Total

    Posted on May 17, 2016 by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    2 Answers

  • James N
    James N
    17,864 Points

    unexpected EOF while parsing?

    Posted on Apr 23, 2016 by James N
    James N
    17,864 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    1 Answer

  • Bikram Mann
    PLUS
    Bikram Mann
    Courses Plus Student 12,647 Points

    Difference between A is not None, A not None and A != None ? Are they all valid in python? Do they all yield same result

    Posted on Dec 28, 2015 by Bikram Mann
    Bikram Mann
    Courses Plus Student 12,647 Points
    • Python
    • Functional Python
    • The Lambda Lambada
    • Reduce

    4 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.