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

Number Game App Error

https://w.trhou.se/s4rguh33bw Its showing error when i run it

1 Answer

Steven Parker
Steven Parker
243,201 Points

It works for me.

What kind of error do you get when you run it?

Also, while it does not cause an error, be aware that this line will not report what the user typed in:

        print("I didn't get it, {} isn't a number".format(guess))

Instead, it will show the last number that was successfully converted from the input.