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

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