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.

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

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

  • 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
  • william Owens
    william Owens
    812 Points

    Why shouldn't I use extend to add only one item

    Posted May 28, 2018 10:46pm by william Owens
    william Owens
    812 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Jamie Parry
    Jamie Parry
    312 Points

    What is the difference between a string and a variable?

    Posted March 19, 2018 7:10pm by Jamie Parry
    Jamie Parry
    312 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • ayub ali
    PLUS
    ayub ali
    Courses Plus Student 723 Points

    help with this please

    Posted January 28, 2018 2:03am by ayub ali
    ayub ali
    Courses Plus Student 723 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Akshaan Mazumdar
    Akshaan Mazumdar
    3,787 Points

    NEED PRACTICE!!

    Posted January 12, 2018 1:33pm by Akshaan Mazumdar
    Akshaan Mazumdar
    3,787 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Mason Neal
    Mason Neal
    198 Points

    extend error

    Posted October 31, 2017 4:17am by Mason Neal
    Mason Neal
    198 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Wendy Chang
    Wendy Chang
    351 Points

    .remove () method

    Posted October 12, 2017 5:19am by Wendy Chang
    Wendy Chang
    351 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Arikaturika Tumojenko
    Arikaturika Tumojenko
    8,897 Points

    How can I delete everything in the work space?

    Posted September 19, 2017 6:02pm by Arikaturika Tumojenko
    Arikaturika Tumojenko
    8,897 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Galen Yanofsky
    Galen Yanofsky
    599 Points

    When you press 'Home" to return to SOL it automatically takes similar actions as 'Insert'. Very annoying

    Posted August 25, 2017 3:16pm by Galen Yanofsky
    Galen Yanofsky
    599 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    0 Answers

  • pedro carreras
    pedro carreras
    200 Points

    How do i use .remove()

    Posted July 28, 2017 12:13am by pedro carreras
    pedro carreras
    200 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Keith Ostertag
    Keith Ostertag
    16,619 Points

    Using lists, why does b = a.sort() not work?

    Posted July 23, 2017 3:54pm by Keith Ostertag
    Keith Ostertag
    16,619 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Ricardo Pereira
    Ricardo Pereira
    211 Points

    I can't add [] nor {} in the python shell (although I can when writing in a file)

    Posted June 27, 2017 11:46am by Ricardo Pereira
    Ricardo Pereira
    211 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Manpreet Singh
    Manpreet Singh
    13,014 Points

    launch workspace problem

    Posted June 25, 2017 4:47pm by Manpreet Singh
    Manpreet Singh
    13,014 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    0 Answers

  • MIK 7
    PLUS
    MIK 7
    Courses Plus Student 881 Points

    what if I wanted to remove multiple items in one code?

    Posted June 12, 2017 7:23am by MIK 7
    MIK 7
    Courses Plus Student 881 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    3 Answers

  • Dongyun Cho
    Dongyun Cho
    2,256 Points

    "You don't have to do the commas, but that's convention"

    Posted May 30, 2017 6:15am by Dongyun Cho
    Dongyun Cho
    2,256 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • alan ingram
    PLUS
    alan ingram
    Courses Plus Student 3,979 Points

    Is it me or the site?

    Posted March 24, 2017 4:54pm by alan ingram
    alan ingram
    Courses Plus Student 3,979 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    5 Answers

  • Sanketh Shanbhag
    Sanketh Shanbhag
    1,560 Points

    Can you explain when there are 2 or more similar list items ; And we try to remove 1 out of them ?

    Posted March 22, 2017 11:14am by Sanketh Shanbhag
    Sanketh Shanbhag
    1,560 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Marc Georges
    Marc Georges
    1,685 Points

    I know that append takes exactly one argument. So what is the difference between an argument and parameter?

    Posted March 15, 2017 3:09pm by Marc Georges
    Marc Georges
    1,685 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    3 Answers

  • Rakshith Nayak
    Rakshith Nayak
    1,893 Points

    does the remove method remove only one argument?

    Posted January 21, 2017 7:21pm by Rakshith Nayak
    Rakshith Nayak
    1,893 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    3 Answers

  • Edvin Zetterström
    Edvin Zetterström
    198 Points

    I cant use altgr in the console so i cant create {} or []

    Posted January 14, 2017 3:23pm by Edvin Zetterström
    Edvin Zetterström
    198 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    3 Answers

  • Matt Hoang
    Matt Hoang
    1,517 Points

    Removing a single value from a list in a list

    Posted December 13, 2016 2:05pm by Matt Hoang
    Matt Hoang
    1,517 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Dave Masom
    Dave Masom
    9,584 Points

    Remove all instances of a value from a list

    Posted November 29, 2016 1:57am by Dave Masom
    Dave Masom
    9,584 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • hoffmaa
    hoffmaa
    6,260 Points

    Quotes around list items

    Posted September 26, 2016 10:56pm by hoffmaa
    hoffmaa
    6,260 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Rakshith Nayak
    Rakshith Nayak
    1,893 Points

    .remove()

    Posted September 7, 2016 9:39am by Rakshith Nayak
    Rakshith Nayak
    1,893 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Lionel Victor
    Lionel Victor
    2,490 Points

    How to remove more than one value from a list ?

    Posted August 24, 2016 10:59pm by Lionel Victor
    Lionel Victor
    2,490 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Alexander Hansson
    Alexander Hansson
    2,083 Points

    Databases and lists?

    Posted July 21, 2016 6:46am by Alexander Hansson
    Alexander Hansson
    2,083 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    4 Answers

  • Tatenda Mananda
    Tatenda Mananda
    267 Points

    removing something from the list

    Posted June 2, 2016 11:45am by Tatenda Mananda
    Tatenda Mananda
    267 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    2 Answers

  • Tatenda Mananda
    Tatenda Mananda
    267 Points

    removing something from the list

    Posted June 2, 2016 11:45am by Tatenda Mananda
    Tatenda Mananda
    267 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Tatenda Mananda
    Tatenda Mananda
    267 Points

    removing something from the list

    Posted June 2, 2016 11:45am by Tatenda Mananda
    Tatenda Mananda
    267 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    1 Answer

  • Aaron Smith
    Aaron Smith
    1,851 Points

    Docs Links

    Posted January 24, 2016 6:27pm by Aaron Smith
    Aaron Smith
    1,851 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    3 Answers

  • Aris Gysel
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aris Gysel
    Python Web Development Techdegree Student 2,707 Points

    Why can't I type brackets or curly brackets in workspace?

    Posted December 15, 2015 11:17pm by Aris Gysel
    .a{fill-rule:evenodd;}techdegree
    Aris Gysel
    Python Web Development Techdegree Student 2,707 Points
    • Python
    • Python Basics (2015)
    • Python Data Types
    • Lists

    8 Answers

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