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
  • Gadiel Alvarado
    Gadiel Alvarado
    2,267 Points

    can someone help understand what I am doing wrong

    Posted March 10, 2023 1:58am by Gadiel Alvarado
    Gadiel Alvarado
    2,267 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • Jacob Guitreau
    Jacob Guitreau
    10,461 Points

    Cannot seem to figure out this index for a slice. What am I doing wrong?

    Posted July 28, 2022 10:13pm by Jacob Guitreau
    Jacob Guitreau
    10,461 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • matthew mahoney
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points

    Create a slice of the provided student_gpas list that includes the 3rd through the 5th elements in the list. Assign the

    Posted April 7, 2021 10:29pm by matthew mahoney
    .a{fill-rule:evenodd;}techdegree
    matthew mahoney
    Python Development Techdegree Student 2,536 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Haasini Beeravolu
    Haasini Beeravolu
    616 Points

    What do I do here?

    Posted April 7, 2021 8:22pm by Haasini Beeravolu
    Haasini Beeravolu
    616 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • ahmed suleman
    ahmed suleman
    8,173 Points

    Create a slice of the provided student_gpas list that includes the 3rd through the 5th elements in the list. Assign the

    Posted January 23, 2021 3:40am by ahmed suleman
    ahmed suleman
    8,173 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Chad Kusuno
    Chad Kusuno
    6,789 Points

    1st Challenge? student_gpas = [4.0, 2.3, 3.5, 3.7, 3.9, 2.8, 1.5, 4.0] sliced_gpas = student_gpas[2:5:2]

    Posted December 28, 2020 10:01pm by Chad Kusuno
    Chad Kusuno
    6,789 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • Luke Tate
    PLUS
    Luke Tate
    Courses Plus Student 2,256 Points

    What am I missing?

    Posted October 25, 2020 6:39pm by Luke Tate
    Luke Tate
    Courses Plus Student 2,256 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Idrees IQBAL
    Idrees IQBAL
    1,538 Points

    No Idea why i am getting this Error.

    Posted October 15, 2020 7:39am by Idrees IQBAL
    Idrees IQBAL
    1,538 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • Brock Goodrich
    Brock Goodrich
    991 Points

    What is the answer to this question that seems to ask for two answers?

    Posted August 7, 2020 6:26pm by Brock Goodrich
    Brock Goodrich
    991 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Serwaa Osei-Poku
    Serwaa Osei-Poku
    1,300 Points

    Can I please get help in finding the problem with my code?

    Posted July 18, 2020 1:28pm by Serwaa Osei-Poku
    Serwaa Osei-Poku
    1,300 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • Rommel Rodriguez
    Rommel Rodriguez
    5,218 Points

    is there something wrong with quiz? i can get this code to run on workspaces

    Posted June 7, 2020 4:31pm by Rommel Rodriguez
    Rommel Rodriguez
    5,218 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Yuvraj Singh
    PLUS
    Yuvraj Singh
    Courses Plus Student 1,435 Points

    pthon sequence challenge

    Posted June 6, 2020 4:06pm by Yuvraj Singh
    Yuvraj Singh
    Courses Plus Student 1,435 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • Sam Cerwinske
    PLUS
    Sam Cerwinske
    Courses Plus Student 2,876 Points

    Creating Slices

    Posted May 28, 2020 2:19pm by Sam Cerwinske
    Sam Cerwinske
    Courses Plus Student 2,876 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    Why is this code incorrect

    Posted May 6, 2020 5:25pm by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Stephani Dudrak
    Stephani Dudrak
    1,614 Points

    How do I know what elements I need?

    Posted March 31, 2020 5:15pm by Stephani Dudrak
    Stephani Dudrak
    1,614 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • RIP' FINGALINS"""""""""
    RIP' FINGALINS"""""""""
    2,002 Points

    Help! I can't seem to understand this

    Posted January 11, 2020 8:06pm by RIP' FINGALINS"""""""""
    RIP' FINGALINS"""""""""
    2,002 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    0 Answers

  • Horia Scurtu
    Horia Scurtu
    1,781 Points

    I don't know what is wrong

    Posted December 23, 2019 2:09pm by Horia Scurtu
    Horia Scurtu
    1,781 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    0 Answers

  • Atang Lekang
    Atang Lekang
    2,509 Points

    Create a slice of the provided list from the 3rd to the 5th element

    Posted November 13, 2019 6:38am by Atang Lekang
    Atang Lekang
    2,509 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • David Dong
    David Dong
    5,593 Points

    What's wrong with my code (slices)?

    Posted August 15, 2019 2:37pm by David Dong
    David Dong
    5,593 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    1 Answer

  • Tichaona KUNDODYIWA
    Tichaona KUNDODYIWA
    5,124 Points

    where am i getting wrong please help

    Posted August 1, 2019 10:23pm by Tichaona KUNDODYIWA
    Tichaona KUNDODYIWA
    5,124 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    2 Answers

  • James Longoria
    James Longoria
    2,425 Points

    Python Sequences Challenge Task 1 of 1.

    Posted July 14, 2019 11:17am by James Longoria
    James Longoria
    2,425 Points
    • Python
    • Python Sequences
    • Sequence Operations
    • Creating Slices

    5 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