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
Gregory James
6,537 PointsBranch and loop
I don't understand why my while statement is not catching me inputing a number higher than 100. If I say I want 101 tickets it just runs through the loop instead of printing "we are out of tickets". Could someone take a look at my code and tell me what I am doing wrong. i have a screen shot. Here is my link to the screen shot https://w.trhou.se/75eo8vxkba i hope you can see this
1 Answer
Hamza Gerari
Python Web Development Techdegree Student 249 PointsHello Gregory, I've added some code look for comment with #*5 in my screen shot. I hope it'd help you keep it up
Gregory James
6,537 PointsGregory James
6,537 PointsThat helped, but in conjuction with that problem was me missing an upper case Y in my proceed.upper() which fixed the problem. Thank you for your help.