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

oivindberg
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
oivindberg
Full Stack JavaScript Techdegree Graduate 43,923 Points

Found a small bug in a code challenge

Hello, I found an insignificant little bug in the code challenge on the first python course.

If I type print with a number as a prefix on the function name. The code challenge still accepts the answer. :p

Like this

2print("Hello, Treehouse!")

https://teamtreehouse.com/library/python-basics/python-for-beginners/call-a-function

1 Answer

Steven Parker
Steven Parker
230,248 Points

That doesn't actually pass the challenge.

I pasted your line above into the challenge and got: "Bummer! Good try! You need to use it like print("Hello, Treehouse")."

However, the problem is the addition of the exclamation point. After removing that, it did pass. :beetle:

So to report a bug, just follow the instructions given on the Support page. It may even get you a "special Exterminator badge".