🤑 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
  • Josh Klink
    Josh Klink
    2,330 Points

    I don't know what is wrong with my code, but I keep getting errors.

    Posted November 19, 2019 3:50pm by Josh Klink
    Josh Klink
    2,330 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • henry duquesnay
    henry duquesnay
    6,976 Points

    Code Problem UnboundLocalError: local variable 'position' referenced before assignment.

    Posted June 27, 2019 9:43pm by henry duquesnay
    henry duquesnay
    6,976 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Nader Alharbi
    Nader Alharbi
    2,253 Points

    How to remove items regardless of upper or lower cases?

    Posted May 20, 2019 12:34am by Nader Alharbi
    Nader Alharbi
    2,253 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • jahabeebs
    jahabeebs
    3,804 Points

    Can't add more than one item to list

    Posted February 22, 2019 5:56am by jahabeebs
    jahabeebs
    3,804 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • Nathan English
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nathan English
    Front End Web Development Techdegree Student 10,817 Points

    How is he ending the script?

    Posted November 15, 2018 5:32am by Nathan English
    .a{fill-rule:evenodd;}techdegree
    Nathan English
    Front End Web Development Techdegree Student 10,817 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • <noob />
    <noob />
    17,063 Points

    Adding an option to let the user that what they tried to remove is not on their list

    Posted November 5, 2018 8:57pm by <noob />
    <noob />
    17,063 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    3 Answers

  • Kasen BjuganGreen
    Kasen BjuganGreen
    4,161 Points

    Commands don't run, it adds them to list

    Posted October 26, 2018 3:38pm by Kasen BjuganGreen
    Kasen BjuganGreen
    4,161 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points

    Not sure where I have gone wrong with my code

    Posted September 24, 2018 5:52pm by Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    3 Answers

  • sathish
    sathish
    5,697 Points

    can you please help me what is the use of keys. "None" and "pass " can you please elaborate with example

    Posted September 8, 2018 5:43pm by sathish
    sathish
    5,697 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • Terry Felder
    Terry Felder
    1,738 Points

    my delete function uses if statement still same result

    Posted August 2, 2018 5:49am by Terry Felder
    Terry Felder
    1,738 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Eswar Ambati
    Eswar Ambati
    890 Points

    Don't understand what remove function actually does?

    Posted July 20, 2018 10:15am by Eswar Ambati
    Eswar Ambati
    890 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Mathew Yangang
    Mathew Yangang
    4,433 Points

    syntax error try

    Posted July 6, 2018 6:17pm by Mathew Yangang
    Mathew Yangang
    4,433 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • gabrieL faurE
    gabrieL faurE
    1,697 Points

    disemvowel challenge

    Posted January 23, 2018 6:44am by gabrieL faurE
    gabrieL faurE
    1,697 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Nasir Khalid
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nasir Khalid
    Python Web Development Techdegree Student 4,779 Points

    Having difficulty in the 'disemvowel' challenge.

    Posted December 29, 2017 3:45pm by Nasir Khalid
    .a{fill-rule:evenodd;}techdegree
    Nasir Khalid
    Python Web Development Techdegree Student 4,779 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Bryan Castillo
    Bryan Castillo
    2,484 Points

    Name Error on my code dont know how to fix it

    Posted September 21, 2017 8:22pm by Bryan Castillo
    Bryan Castillo
    2,484 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Camray Austin
    PLUS
    Camray Austin
    Courses Plus Student 725 Points

    How to make code print("this item is not in your shopping list")? Having trouble with this really thought it was easy.

    Posted August 9, 2017 7:35pm by Camray Austin
    Camray Austin
    Courses Plus Student 725 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    3 Answers

  • Adam Urteaga
    Adam Urteaga
    19,503 Points

    removing items from a list

    Posted August 3, 2017 6:59pm by Adam Urteaga
    Adam Urteaga
    19,503 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    3 Answers

  • Julio Sanchez
    Julio Sanchez
    14,289 Points

    Should I know more by now?

    Posted July 31, 2017 5:29am by Julio Sanchez
    Julio Sanchez
    14,289 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • aditya yadav
    aditya yadav
    1,505 Points

    What does the pass keyword do ? Is it equivalent to break statement

    Posted July 15, 2017 9:11pm by aditya yadav
    aditya yadav
    1,505 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    2 Answers

  • Minwook Jeong
    Minwook Jeong
    2,453 Points

    Can anyone tell me about the function of clear()

    Posted July 7, 2017 8:34am by Minwook Jeong
    Minwook Jeong
    2,453 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Adam Brekka
    Adam Brekka
    9,982 Points

    My WORKING solution to the "Disemvowel" exercise is being rejected with the "Bummer..." notification...

    Posted June 21, 2017 1:17pm by Adam Brekka
    Adam Brekka
    9,982 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    7 Answers

  • Brian Young
    Brian Young
    5,708 Points

    SyntaxError: invalid syntax when adding the try/except

    Posted June 18, 2017 5:15pm by Brian Young
    Brian Young
    5,708 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    1 Answer

  • Hadi Farhat
    Hadi Farhat
    10,678 Points

    use "if item in shopping_list" instead of "try except" ...

    Posted March 5, 2017 4:32pm by Hadi Farhat
    Hadi Farhat
    10,678 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    0 Answers

  • slavster
    slavster
    1,551 Points

    A Few Optional Modifications

    Posted February 27, 2017 1:39am by slavster
    slavster
    1,551 Points
    • Python
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List

    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.