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
  • Derek Graham Chema
    Derek Graham Chema
    845 Points

    Program ends with TypeError: sequence item 3: expected str instance, list found

    Posted May 16, 2023 4:51am by Derek Graham Chema
    Derek Graham Chema
    845 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    1 Answer

  • ja5on
    ja5on
    10,339 Points

    End of the video problem with a list

    Posted February 7, 2023 3:05pm by ja5on
    ja5on
    10,339 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    1 Answer

  • Austin Dolan
    Austin Dolan
    2,697 Points

    How do I get my tab to go back to only indenting 4 lines?

    Posted October 20, 2021 11:31pm by Austin Dolan
    Austin Dolan
    2,697 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    1 Answer

  • Elena Chen
    Elena Chen
    1,503 Points

    Joint: AttributeError

    Posted April 29, 2020 9:11am by Elena Chen
    Elena Chen
    1,503 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    1 Answer

  • Alan T.
    Alan T.
    4,784 Points

    How do you share code?

    Posted February 29, 2020 9:21pm by Alan T.
    Alan T.
    4,784 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    1 Answer

  • vikas Rai
    vikas Rai
    9,703 Points

    How install time package in pycharm?

    Posted April 24, 2019 7:55pm by vikas Rai
    vikas Rai
    9,703 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 Answers

  • Phillip Bailey
    Phillip Bailey
    1,822 Points

    Using "string" + variable or "string", variable?

    Posted February 12, 2019 2:23pm by Phillip Bailey
    Phillip Bailey
    1,822 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 Answers

  • Hayley Risley
    Hayley Risley
    9,510 Points

    how do you create a python script that collects file name, size, and date created

    Posted November 4, 2018 1:44pm by Hayley Risley
    Hayley Risley
    9,510 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 Answers

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

    Don't understand why the comma doesn't show up in the front of "to_line", even though it is written to

    Posted September 24, 2018 12:10pm by Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    3 Answers

  • Tyler Wells
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Tyler Wells
    Python Development Techdegree Student 2,678 Points

    Why concatenate strings instead of using special characters?

    Posted September 9, 2018 8:14pm by Tyler Wells
    .a{fill-rule:evenodd;}techdegree
    Tyler Wells
    Python Development Techdegree Student 2,678 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    3 Answers

  • Caleb Hughes
    Caleb Hughes
    904 Points

    Syntax Error In "To" and "CC" Split

    Posted August 3, 2018 9:53pm by Caleb Hughes
    Caleb Hughes
    904 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 Answers

  • leonard jurado
    leonard jurado
    12,445 Points

    if "tacos" not in taco_joint: taco_joints.remove(taco_joint)

    Posted June 5, 2018 11:20am by leonard jurado
    leonard jurado
    12,445 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 Answers

  • Thomas McMenemy
    Thomas McMenemy
    7,877 Points

    I apologize if this was already covered, but why was Python run with the "-i"?

    Posted May 29, 2018 1:53am by Thomas McMenemy
    Thomas McMenemy
    7,877 Points
    • Python
    • Introducing Lists
    • Using Lists
    • Split and Join

    2 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