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
  • Leah Kelly
    Leah Kelly
    4,141 Points

    What is sum?

    Posted November 11, 2021 4:28pm by Leah Kelly
    Leah Kelly
    4,141 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • aaron roberts
    aaron roberts
    2,004 Points

    how to .remove from a multidimensional list?

    Posted February 24, 2021 6:31pm by aaron roberts
    aaron roberts
    2,004 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Luke Tate
    PLUS
    Luke Tate
    Courses Plus Student 2,256 Points

    Why does the "sum" have no definition? Is it built in code?

    Posted July 17, 2020 9:11pm by Luke Tate
    Luke Tate
    Courses Plus Student 2,256 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Benyamin Kohanchi
    PLUS
    Benyamin Kohanchi
    Courses Plus Student 2,342 Points

    what does "week" in sum(week) mean in Craig's code?

    Posted July 9, 2020 5:57pm by Benyamin Kohanchi
    Benyamin Kohanchi
    Courses Plus Student 2,342 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Jeremy Hall
    Jeremy Hall
    2,048 Points

    How big of a list in Real World Applications would be considered too much?

    Posted June 15, 2020 7:02pm by Jeremy Hall
    Jeremy Hall
    2,048 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • cory woods
    cory woods
    2,568 Points

    week_number <--- is that a variable?

    Posted May 8, 2020 3:54pm by cory woods
    cory woods
    2,568 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    I'm getting an invalid syntax

    Posted April 2, 2020 7:16pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    Why do we put week_number += 1

    Posted April 2, 2020 7:09pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Ryan McGuire
    Ryan McGuire
    3,758 Points

    How would we iterate across the days if we wanted to sum up the expenses from all Mondays?

    Posted December 9, 2019 9:18pm by Ryan McGuire
    Ryan McGuire
    3,758 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Ankush Sharma
    Ankush Sharma
    844 Points

    Why we put increment in the end of loop.It is necessary?

    Posted November 2, 2019 11:37am by Ankush Sharma
    Ankush Sharma
    844 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Charan sai
    PLUS
    Charan sai
    Courses Plus Student 797 Points

    How to multiply two multidimensional lists like multiplication of matrices??

    Posted October 16, 2019 5:06am by Charan sai
    Charan sai
    Courses Plus Student 797 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Federico Lemaire
    Federico Lemaire
    8,423 Points

    Help with two things :)

    Posted October 15, 2019 10:30pm by Federico Lemaire
    Federico Lemaire
    8,423 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

  • Kayc M
    Kayc M
    12,593 Points

    What if I wanted to sum it all together after iterating them?

    Posted March 6, 2019 2:15pm by Kayc M
    Kayc M
    12,593 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Iulia Maria Lungu
    Iulia Maria Lungu
    19,302 Points

    I wonder how this ad got into the quiz page

    Posted October 31, 2018 2:51pm by Iulia Maria Lungu
    Iulia Maria Lungu
    19,302 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    3 Answers

  • Alexander Salako
    Alexander Salako
    2,434 Points

    problem iterating through the travel expenses list

    Posted September 21, 2018 6:10pm by Alexander Salako
    Alexander Salako
    2,434 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Devdatta Pattnaik
    Devdatta Pattnaik
    101 Points

    Freelancing

    Posted August 19, 2018 5:41pm by Devdatta Pattnaik
    Devdatta Pattnaik
    101 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Eswar Ambati
    Eswar Ambati
    890 Points

    I do not understand the code at 5:48

    Posted July 16, 2018 6:29pm by Eswar Ambati
    Eswar Ambati
    890 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Magnus Lindberg Christensen
    Magnus Lindberg Christensen
    2,231 Points

    Multidimensional Lists

    Posted June 12, 2018 8:01am by Magnus Lindberg Christensen
    Magnus Lindberg Christensen
    2,231 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    2 Answers

  • Mathew Yangang
    Mathew Yangang
    4,433 Points

    copy and paste

    Posted June 7, 2018 11:32pm by Mathew Yangang
    Mathew Yangang
    4,433 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Multidimensional Lists

    1 Answer

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