Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python The Challenge

Challenge "While Loop" done! Feedbacks?

I did it without watching the solution video. It happen to me before to do a challenge that "works" but then I see the solution and the teacher's code is mucho more clean and easy, but anyway I feel kind of proud to did it and see it working. I really like your feedbacks because you guys, in some way teach me too, every answer that I read, I learn smth new :)

https://w.trhou.se/vsi3as8lyl

Hi Kiran! Yes, after I posted this, I saw the solution and was the first thing that I saw, I new the teacher code was gonna be easy and clear. Thanks for the feedback!

2 Answers

You made the conditions complicated. Just use below: doYou.lower() == 'no'

Happy to help :)