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 Python Basics All Together Now Branch and Loop

Dejan Delev
Dejan Delev
461 Points

Can't buy more than 10 tickets?

So up to 9 tickets I get the right answer, but over that it continues as if I pressed "n". Any ideas?

https://imgur.com/8JN2Kge

1 Answer

You forgot to call the method lower by using a set of (). Also as a suggestion, you can always paste your code here and format it using the Markdown Cheatsheet or eventually fork a workspace. It'll be then easier for other users to hunt for bugs rather than looking at an image which is not possible to interact with and hinders the debugging process.

Dejan Delev
Dejan Delev
461 Points

Thanks a lot! I couldn't figure out how to use the Markdown Cheatsheet when asking the question, that's why I used imgur. I will keep it in mind for the next time I have a question. Cheers!