✨ 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
    • Python Collections (2016, retired 2019)
    • Lists
    • Removing Items From A List
    • Close
  • Josh Klink
    Josh Klink
    2,330 Points

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

    Posted on Nov 19, 2019 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 on Jun 27, 2019 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 on May 20, 2019 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 on Feb 22, 2019 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 on Nov 15, 2018 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 on Nov 5, 2018 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 on Oct 26, 2018 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 on Sep 24, 2018 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 on Sep 8, 2018 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 on Aug 2, 2018 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 on Jul 20, 2018 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 on Jul 6, 2018 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 on Jan 23, 2018 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 on Dec 29, 2017 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 on Sep 21, 2017 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 on Aug 9, 2017 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 on Aug 3, 2017 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 on Jul 31, 2017 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 on Jul 15, 2017 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 on Jul 7, 2017 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 on Jun 21, 2017 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 on Jun 18, 2017 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 on Mar 5, 2017 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 on Feb 27, 2017 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.