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 Meet Python Using Input

when using_ input.py i wrote my cord favorite_color =input("what is your favorite_color? ") and is showing me bummer

After writing the code as it is up there, is showing the result bummer:AssertionError now i dont know how to run the cod

using_input.py
favorite_color = input("what is your favorite_color? ")

2 Answers

boi
boi
14,241 Points
favorite_color = input("what is your favorite_color? ") 👈#Remove underscore from "favorite_color"
favorite_color = input("what is your favorite color? ")👈#Try this

Thank you right on it