✨ 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 Sequences
    • Sequence Iteration
    • Iterating With For Loops
    • Close
  • Abigail Solomon
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Abigail Solomon
    Data Analysis Techdegree Student 4,716 Points

    How to iterate this loop with enumerate?

    Posted on Feb 10 by Abigail Solomon
    .a{fill-rule:evenodd;}techdegree
    Abigail Solomon
    Data Analysis Techdegree Student 4,716 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Devan Laton
    Devan Laton
    602 Points

    I need help with this for loop

    Posted on Oct 4, 2024 by Devan Laton
    Devan Laton
    602 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Javier Perez Narvaez
    Javier Perez Narvaez
    15,007 Points

    Problem whit function enumerate

    Posted on Aug 15, 2021 by Javier Perez Narvaez
    Javier Perez Narvaez
    15,007 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Aubree Lindsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Aubree Lindsey
    Python Development Techdegree Student 207 Points

    AssertionError: '0' not found in '1\nred\n2\norange\n3\nyellow\n4\ngreen\n5\nblue\n6\nindigo\n7\nviolet'

    Posted on Jul 29, 2021 by Aubree Lindsey
    .a{fill-rule:evenodd;}techdegree
    Aubree Lindsey
    Python Development Techdegree Student 207 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Richard Viloria
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Richard Viloria
    Python Development Techdegree Student 2,473 Points

    Unit 2's Python Sequences Challenge Task 2 of 2. [Duplicate]

    Posted on Jun 23, 2021 by Richard Viloria
    .a{fill-rule:evenodd;}techdegree
    Richard Viloria
    Python Development Techdegree Student 2,473 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Richard Viloria
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Richard Viloria
    Python Development Techdegree Student 2,473 Points

    Python Sequences Challenge Task 2 of 2

    Posted on Jun 23, 2021 by Richard Viloria
    .a{fill-rule:evenodd;}techdegree
    Richard Viloria
    Python Development Techdegree Student 2,473 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Luke Shephard Zikuyumo
    Luke Shephard Zikuyumo
    1,655 Points

    iterating_lists

    Posted on May 1, 2021 by Luke Shephard Zikuyumo
    Luke Shephard Zikuyumo
    1,655 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Luke Shephard Zikuyumo
    Luke Shephard Zikuyumo
    1,655 Points

    enumarate method code

    Posted on Apr 26, 2021 by Luke Shephard Zikuyumo
    Luke Shephard Zikuyumo
    1,655 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Haasini Beeravolu
    Haasini Beeravolu
    616 Points

    How do I do this?

    Posted on Feb 20, 2021 by Haasini Beeravolu
    Haasini Beeravolu
    616 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Haasini Beeravolu
    Haasini Beeravolu
    616 Points

    I don't understand.

    Posted on Jan 30, 2021 by Haasini Beeravolu
    Haasini Beeravolu
    616 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Arvind Krishna
    Arvind Krishna
    3,550 Points

    What is wrong?

    Posted on Nov 18, 2020 by Arvind Krishna
    Arvind Krishna
    3,550 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Jenn Giulietti
    Jenn Giulietti
    4,888 Points

    enumerate

    Posted on Sep 30, 2020 by Jenn Giulietti
    Jenn Giulietti
    4,888 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • hana haytham
    hana haytham
    2,232 Points

    help please i can not understand whats wrong with the code !!!!!!!

    Posted on Sep 7, 2020 by hana haytham
    hana haytham
    2,232 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Callum Anderson
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Callum Anderson
    Data Analysis Techdegree Student 10,200 Points

    im stuck

    Posted on Jun 1, 2020 by Callum Anderson
    .a{fill-rule:evenodd;}techdegree
    Callum Anderson
    Data Analysis Techdegree Student 10,200 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Humza Malak
    Humza Malak
    3,064 Points

    Python Sequences Task 2/2

    Posted on May 17, 2020 by Humza Malak
    Humza Malak
    3,064 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • William Paterson
    William Paterson
    3,331 Points

    code in lesson not correct

    Posted on May 16, 2020 by William Paterson
    William Paterson
    3,331 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    4 Answers

  • Bobur Azimov
    Bobur Azimov
    2,547 Points

    Write a for loop that iterates over the provided list. The body of the for loop should print

    Posted on May 15, 2020 by Bobur Azimov
    Bobur Azimov
    2,547 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Aizah Sadiq
    Aizah Sadiq
    2,435 Points

    I don't know where I am going wrong

    Posted on May 4, 2020 by Aizah Sadiq
    Aizah Sadiq
    2,435 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Nathan Forester
    Nathan Forester
    3,293 Points

    Why does the code produce the expected output in the preview window, but upon checking work, an error is raised?

    Posted on Apr 13, 2020 by Nathan Forester
    Nathan Forester
    3,293 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • ELVIS CHAWAREMERA
    ELVIS CHAWAREMERA
    11,627 Points

    python sequences

    Posted on Feb 25, 2020 by ELVIS CHAWAREMERA
    ELVIS CHAWAREMERA
    11,627 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    0 Answers

  • Tapiwa Dzimiri
    Tapiwa Dzimiri
    1,070 Points

    loop to use enumerate method

    Posted on Nov 25, 2019 by Tapiwa Dzimiri
    Tapiwa Dzimiri
    1,070 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • arielp
    arielp
    3,516 Points

    Write a for loop that iterates over the provided list. The body of the for loop should print the current element in the

    Posted on Oct 26, 2019 by arielp
    arielp
    3,516 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Bakang Elliot Simane
    Bakang Elliot Simane
    5,119 Points

    loops

    Posted on Oct 7, 2019 by Bakang Elliot Simane
    Bakang Elliot Simane
    5,119 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Gakenaope Elizabeth Mabutho
    Gakenaope Elizabeth Mabutho
    1,950 Points

    Where could I be going wrong?Please help,it gives out an Assertion Error.How?

    Posted on Sep 17, 2019 by Gakenaope Elizabeth Mabutho
    Gakenaope Elizabeth Mabutho
    1,950 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Alfred Moha
    Alfred Moha
    8,205 Points

    Write a for loop that iterates over the provided list. The body of the for loop should print the c

    Posted on Sep 15, 2019 by Alfred Moha
    Alfred Moha
    8,205 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    3 Answers

  • sam short
    sam short
    1,481 Points

    Iterating lists

    Posted on Aug 5, 2019 by sam short
    sam short
    1,481 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • dfeem
    dfeem
    4,660 Points

    Any assistance with this challenge is appreciated? Thanks!

    Posted on Jul 31, 2019 by dfeem
    dfeem
    4,660 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    1 Answer

  • Samson Chapuramhuka
    Samson Chapuramhuka
    7,390 Points

    Edit the code so that the for loop uses the enumerate method. Add a print statement above the existing print statement t

    Posted on Jul 15, 2019 by Samson Chapuramhuka
    Samson Chapuramhuka
    7,390 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    5 Answers

  • Stanley Nkosi
    Stanley Nkosi
    4,233 Points

    Python Sequence -Task 1 of 2 How to write a loop that iterates over the list provided? Stanley Nkosi

    Posted on Jul 15, 2019 by Stanley Nkosi
    Stanley Nkosi
    4,233 Points
    • Python
    • Python Sequences
    • Sequence Iteration
    • Iterating With For Loops

    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.