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
  • Haley Phares
    Haley Phares
    3,659 Points

    Unexpected Indent

    Posted September 3, 2024 1:37pm by Haley Phares
    Haley Phares
    3,659 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    1 Answer

  • ja5on
    ja5on
    10,339 Points

    using visual studio instead of workspace python -i, is there an alternative?

    Posted January 30, 2023 5:16pm by ja5on
    ja5on
    10,339 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    5 Answers

  • komilataev
    komilataev
    282 Points

    Shortcut for PASTE?

    Posted October 30, 2020 3:26pm by komilataev
    komilataev
    282 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • Alan Azizov
    Alan Azizov
    2,066 Points

    What is the combination for cleaning the Console bar in Launch Workspace

    Posted October 4, 2020 12:04pm by Alan Azizov
    Alan Azizov
    2,066 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • K Adam
    K Adam
    497 Points

    I don't understand why we are now using "python -i?" in the interactive shell. What does it do differently than old way

    Posted May 5, 2020 8:48pm by K Adam
    K Adam
    497 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    1 Answer

  • Amrutha Satti
    Amrutha Satti
    721 Points

    if lists can have only 0 and 1 how do we get [-2]

    Posted May 4, 2020 5:15pm by Amrutha Satti
    Amrutha Satti
    721 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • Elena Chen
    Elena Chen
    1,503 Points

    When should we run a python -i. wishlist.py instead of python wishlist.py.

    Posted April 29, 2020 6:27am by Elena Chen
    Elena Chen
    1,503 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • Simon Bazso
    Simon Bazso
    1,162 Points

    How can I make hard bracket command? "Python - Lists" (Swedish keyboard)

    Posted July 2, 2019 11:00am by Simon Bazso
    Simon Bazso
    1,162 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • Servicios Adquiridos SA de CV
    Servicios Adquiridos SA de CV
    886 Points

    SyntaxError while starting the exercise :(

    Posted April 15, 2019 11:41pm by Servicios Adquiridos SA de CV
    Servicios Adquiridos SA de CV
    886 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    4 Answers

  • teresemartyn
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    teresemartyn
    Front End Web Development Techdegree Graduate 24,354 Points

    Arrays - are Python lists similar to arrays?

    Posted October 16, 2018 2:41pm by teresemartyn
    .a{fill-rule:evenodd;}techdegree seal-36
    teresemartyn
    Front End Web Development Techdegree Graduate 24,354 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    3 Answers

  • sathish
    sathish
    5,697 Points

    what is the use of command python -i? why we use this ? thank you in advance

    Posted September 5, 2018 12:37am by sathish
    sathish
    5,697 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    3 Answers

  • Igor Dias
    Igor Dias
    5,155 Points

    Problem adding an iten in the end of the list using insert

    Posted July 15, 2018 2:05am by Igor Dias
    Igor Dias
    5,155 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    3 Answers

  • Idrees Richard
    Idrees Richard
    166 Points

    Hi All,What is actually the purpose of the .format () command? I did some researching online and cant seem to understand

    Posted June 26, 2018 3:50am by Idrees Richard
    Idrees Richard
    166 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    2 Answers

  • Ali AlRabeah
    Ali AlRabeah
    909 Points

    Comment on term introduction.

    Posted May 25, 2018 1:11am by Ali AlRabeah
    Ali AlRabeah
    909 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    1 Answer

  • Sanjay Devadkar
    PLUS
    Sanjay Devadkar
    Courses Plus Student 1,016 Points

    how to slice word from list

    Posted May 22, 2018 2:09pm by Sanjay Devadkar
    Sanjay Devadkar
    Courses Plus Student 1,016 Points
    • Python
    • Introducing Lists
    • Meet Lists
    • Indexing

    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