✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 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

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

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

    The Necessity/Purpose of Continue and Break

    Posted on Nov 25, 2021 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 on Sep 12, 2021 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 on Jul 9, 2021 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 on May 31, 2021 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 on May 1, 2021 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 on Apr 2, 2020 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 on Apr 1, 2020 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 on Mar 21, 2020 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 on Mar 20, 2020 by Timothy Tseng
    Timothy Tseng
    3,292 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • Ryan Hartigan
    Ryan Hartigan
    3,426 Points

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

    Posted on Aug 25, 2019 by Ryan Hartigan
    Ryan Hartigan
    3,426 Points
    • Python
    • Introducing Lists
    • Build an Application
    • The Application

    1 Answer

  • ioana morosanu
    ioana morosanu
    1,557 Points

    My list is not working...

    Posted on Aug 18, 2019 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 on Jul 25, 2019 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 on Apr 20, 2019 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 on Nov 1, 2018 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 on Oct 24, 2018 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 on Oct 23, 2018 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 on Sep 6, 2018 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 on Aug 21, 2018 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 on Jun 24, 2018 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 on Jun 14, 2018 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 on Jun 6, 2018 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 on May 24, 2018 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 on May 23, 2018 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.

    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.