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
  • heebers
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    heebers
    Python Development Techdegree Student 1,835 Points

    The Necessity/Purpose of Continue and Break

    Posted November 25, 2021 3:33am by heebers
    .a{fill-rule:evenodd;}techdegree
    heebers
    Python Development Techdegree Student 1,835 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • kamal diriye
    kamal diriye
    1,597 Points

    Not sure why there is a Syntax Error happening.

    Posted September 12, 2021 11:16am by kamal diriye
    kamal diriye
    1,597 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • shriram gharpure
    shriram gharpure
    4,032 Points

    I have the exact same code as Craig in the video but my code won't run like his does [Solved]

    Posted July 9, 2021 4:51pm by shriram gharpure
    shriram gharpure
    4,032 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Preston Dunn
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Preston Dunn
    Python Development Techdegree Student 3,723 Points

    I am running my code but in the terminal when executing python shopping_list.py it never runs the code.

    Posted May 31, 2021 2:37am by Preston Dunn
    .a{fill-rule:evenodd;}techdegree
    Preston Dunn
    Python Development Techdegree Student 3,723 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    Im making detailed notes and have a question about. Break and continue

    Posted May 1, 2021 6:12am by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • Manuel Heininger
    Manuel Heininger
    648 Points

    The "HELP" option, don't show at the beginning!

    Posted April 2, 2020 10:06am by Manuel Heininger
    Manuel Heininger
    648 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • Tufan T.
    Tufan T.
    3,534 Points

    Re. show_help() function:

    Posted April 1, 2020 6:43pm by Tufan T.
    Tufan T.
    3,534 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Ingrid Matthews
    Ingrid Matthews
    1,465 Points

    Problem with the workspace

    Posted March 21, 2020 3:26am by Ingrid Matthews
    Ingrid Matthews
    1,465 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Timothy Tseng
    Timothy Tseng
    3,292 Points

    Validating user inputs

    Posted March 20, 2020 3:05am by Timothy Tseng
    Timothy Tseng
    3,292 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Ryan Hartigan
    Ryan Hartigan
    3,427 Points

    We have the generic input "> "... what does this mean?

    Posted August 25, 2019 5:29am by Ryan Hartigan
    Ryan Hartigan
    3,427 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • ioana morosanu
    ioana morosanu
    1,557 Points

    My list is not working...

    Posted August 18, 2019 11:21am by ioana morosanu
    ioana morosanu
    1,557 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    3 Answers

  • Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points

    i love these skill test (sorry for people whos here only for questions)

    Posted July 25, 2019 12:52am by Kurobe Kuro^T_T^
    Kurobe Kuro^T_T^
    5,369 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • anthonybrackner
    anthonybrackner
    17,776 Points

    Recursion Error

    Posted April 20, 2019 10:40pm by anthonybrackner
    anthonybrackner
    17,776 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • Iulia Maria Lungu
    Iulia Maria Lungu
    19,302 Points

    The use of continue in the given example

    Posted November 1, 2018 11:40am by Iulia Maria Lungu
    Iulia Maria Lungu
    19,302 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    4 Answers

  • Jassim Alhatem
    Jassim Alhatem
    20,883 Points

    Can i switch?

    Posted October 24, 2018 1:29pm by Jassim Alhatem
    Jassim Alhatem
    20,883 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Hanna Han
    Hanna Han
    4,105 Points

    More options in 'if' functions

    Posted October 23, 2018 6:30am by Hanna Han
    Hanna Han
    4,105 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • sathish
    sathish
    5,697 Points

    can any one help me on difference between "break" and "continue" and please explain the uses of "continue" keyword

    Posted September 6, 2018 11:27pm by sathish
    sathish
    5,697 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • Larry Gonzales
    Larry Gonzales
    10,112 Points

    Shopping_list.py not running in console.

    Posted August 21, 2018 1:11pm by Larry Gonzales
    Larry Gonzales
    10,112 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Abdullah Jassim
    Abdullah Jassim
    4,551 Points

    Why cant I use the done break as a function? Thanks.

    Posted June 24, 2018 10:03am by Abdullah Jassim
    Abdullah Jassim
    4,551 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    2 Answers

  • Anthony Lopez
    Anthony Lopez
    963 Points

    Triple quotation marks?

    Posted June 14, 2018 12:55pm by Anthony Lopez
    Anthony Lopez
    963 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • leonard jurado
    leonard jurado
    12,445 Points

    Is there a way to short cut this code/script?

    Posted June 6, 2018 4:06am by leonard jurado
    leonard jurado
    12,445 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    4 Answers

  • Youssef Moustahib
    Youssef Moustahib
    7,779 Points

    IndexError!!

    Posted May 24, 2018 4:46pm by Youssef Moustahib
    Youssef Moustahib
    7,779 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Youssef Moustahib
    Youssef Moustahib
    7,779 Points

    This won't work?

    Posted May 23, 2018 5:49pm by Youssef Moustahib
    Youssef Moustahib
    7,779 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    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