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 (2015) Python for Beginners Create a variable

I even copy pasted the example text, and it's still telling me it's wrong. Looks like a bug.

Any idea why this thing isn't registering this as a correct answer?

variable.py
name = "mike"

name="mike"
name = "Kenneth"
name = "Kenneth"

name = "Mike"

1 Answer

andren
andren
28,558 Points

Challenges are very picky. In this case it expects one variable declaration, nothing more. So while your solution is not invalid it contains far more code than was asked for. Just assign your name once like this:

name = "Mike"

And that will be enough to complete the challenge.