✨ 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
    • Challenge Solution
    • Close
  • Angelus Miculek
    Angelus Miculek
    6,979 Points

    triple quotes cause index errors

    Posted on Sep 12, 2024 by Angelus Miculek
    Angelus Miculek
    6,979 Points
    • Python
    • Challenge Solution

    3 Answers

  • Enes artun
    PLUS
    Enes artun
    Courses Plus Student 2,364 Points

    How to stop the function when lower case Y or N inputted?

    Posted on Jun 19, 2023 by Enes artun
    Enes artun
    Courses Plus Student 2,364 Points
    • Python
    • Challenge Solution

    1 Answer

  • Kathryn Kassapides
    Kathryn Kassapides
    9,260 Points

    While Loop Challenge. I solved it a different way and it keeps repeating when I answer yes but doesn't give . . .

    Posted on Apr 8, 2021 by Kathryn Kassapides
    Kathryn Kassapides
    9,260 Points
    • Python
    • Challenge Solution

    1 Answer

  • Katarzyna Wójtowicz
    PLUS
    Katarzyna Wójtowicz
    Courses Plus Student 4,842 Points

    Why is it still looping?

    Posted on Dec 29, 2020 by Katarzyna Wójtowicz
    Katarzyna Wójtowicz
    Courses Plus Student 4,842 Points
    • Python
    • Challenge Solution

    3 Answers

  • Danielle Gabriszeski
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Gabriszeski
    Python Development Techdegree Graduate 8,787 Points

    Constant looping - When I use this code a second time through it continuelly loops, regardless of input

    Posted on Nov 12, 2020 by Danielle Gabriszeski
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Gabriszeski
    Python Development Techdegree Graduate 8,787 Points
    • Python
    • Challenge Solution

    3 Answers

  • Adrian Diaz
    Adrian Diaz
    3,500 Points

    Is there an easier way to come to this answer?

    Posted on Oct 14, 2020 by Adrian Diaz
    Adrian Diaz
    3,500 Points
    • Python
    • Challenge Solution

    2 Answers

  • Stuart Fleishman
    Stuart Fleishman
    2,592 Points

    code breaking

    Posted on Jun 19, 2020 by Stuart Fleishman
    Stuart Fleishman
    2,592 Points
    • Python
    • Challenge Solution

    1 Answer

  • Richard Chuks
    Richard Chuks
    5,168 Points

    Invalid Syntax error for some reason.

    Posted on Jun 18, 2020 by Richard Chuks
    Richard Chuks
    5,168 Points
    • Python
    • Challenge Solution

    2 Answers

  • Nicolas Caplan
    Nicolas Caplan
    780 Points

    Hello, I put yes and it keeps repeating itself. I dont know what i am doing wrong

    Posted on May 9, 2020 by Nicolas Caplan
    Nicolas Caplan
    780 Points
    • Python
    • Challenge Solution

    2 Answers

  • Cecilia Rossi García
    Cecilia Rossi García
    2,251 Points

    .lower

    Posted on Apr 27, 2020 by Cecilia Rossi García
    Cecilia Rossi García
    2,251 Points
    • Python
    • Challenge Solution

    1 Answer

  • Nayonna Purnell
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nayonna Purnell
    Full Stack JavaScript Techdegree Student 6,683 Points

    My code is getting an AttributeError when using .lower to start my while loop in Python, please help.

    Posted on Mar 23, 2020 by Nayonna Purnell
    .a{fill-rule:evenodd;}techdegree
    Nayonna Purnell
    Full Stack JavaScript Techdegree Student 6,683 Points
    • Python
    • Challenge Solution

    2 Answers

  • William Burton
    William Burton
    2,883 Points

    The suggested solution does not seem to be very DRY.

    Posted on Nov 16, 2019 by William Burton
    William Burton
    2,883 Points
    • Python
    • Challenge Solution

    1 Answer

  • Ash Skelton
    Ash Skelton
    3,745 Points

    String formatting question...

    Posted on Oct 31, 2019 by Ash Skelton
    Ash Skelton
    3,745 Points
    • Python
    • Challenge Solution

    1 Answer

  • Jareth Vasquez
    Jareth Vasquez
    1,744 Points

    i cant understand why this is breaking, please help

    Posted on Sep 22, 2019 by Jareth Vasquez
    Jareth Vasquez
    1,744 Points
    • Python
    • Challenge Solution

    1 Answer

  • zoltans
    zoltans
    2,547 Points

    Is this a right way to solve this challenge?

    Posted on Jun 4, 2019 by zoltans
    zoltans
    2,547 Points
    • Python
    • Challenge Solution

    1 Answer

  • Pei Sheng Tan
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Pei Sheng Tan
    Python Web Development Techdegree Student 2,600 Points

    Please check my code for redundancy? I expanded the script to also check for valid/invalid answers.

    Posted on Mar 29, 2019 by Pei Sheng Tan
    .a{fill-rule:evenodd;}techdegree
    Pei Sheng Tan
    Python Web Development Techdegree Student 2,600 Points
    • Python
    • Challenge Solution

    1 Answer

  • Sean Flanagan
    Sean Flanagan
    33,236 Points

    Repetition

    Posted on Oct 30, 2018 by Sean Flanagan
    Sean Flanagan
    33,236 Points
    • Python
    • Challenge Solution

    3 Answers

  • Daniel McCann
    PLUS
    Daniel McCann
    Courses Plus Student 5,308 Points

    if no is entered as first answer my yes response does not break the loop and it continues to ask me if i understand

    Posted on Oct 11, 2018 by Daniel McCann
    Daniel McCann
    Courses Plus Student 5,308 Points
    • Python
    • Challenge Solution

    3 Answers

  • erilope
    PLUS
    erilope
    Courses Plus Student 364 Points

    I couldn't figure it out first try and had to use the video for help, is that bad?

    Posted on Sep 19, 2018 by erilope
    erilope
    Courses Plus Student 364 Points
    • Python
    • Challenge Solution

    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.