πŸ€‘ 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

  • 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
  • Angelus Miculek
    Angelus Miculek
    6,979 Points

    triple quotes cause index errors

    Posted September 12, 2024 2:22pm 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 June 19, 2023 10:04am 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 April 8, 2021 7:33pm 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 December 29, 2020 7:22pm 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 November 12, 2020 4:59pm 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 October 14, 2020 8:59pm by Adrian Diaz
    Adrian Diaz
    3,500 Points
    • Python
    • Challenge Solution

    2 Answers

  • Stuart Fleishman
    Stuart Fleishman
    2,592 Points

    code breaking

    Posted June 19, 2020 2:05pm 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 June 18, 2020 7:15pm 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 May 9, 2020 11:57pm 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 April 27, 2020 10:50pm 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 March 23, 2020 12:31pm 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 November 16, 2019 7:44pm by William Burton
    William Burton
    2,883 Points
    • Python
    • Challenge Solution

    1 Answer

  • Ash Skelton
    Ash Skelton
    3,745 Points

    String formatting question...

    Posted October 31, 2019 1:27pm 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 September 22, 2019 4:58am 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 June 4, 2019 2:52pm 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 March 29, 2019 4:53am 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 October 30, 2018 4:10pm 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 October 11, 2018 7:48pm 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 September 19, 2018 3:49am 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.