🤑 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
  • Joel Sprunger
    Joel Sprunger
    5,448 Points

    Syntax question for boolean decisions

    Posted July 9, 2020 6:16pm 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 September 20, 2018 10:47am 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 August 15, 2018 2:42pm 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 September 14, 2016 1:04am 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 May 17, 2016 4:56am 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 May 17, 2016 4:42am 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 April 23, 2016 5:32pm 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 December 28, 2015 8:50pm 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.