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 trialSabry Salman
2,465 Pointsinput command
this is a simple command to define 'age' with an input command, but i can't seem to figure out whats wrong?
age = input("What is your age? ")
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHi Sabry,
You code is correct in syntax. However, the challenges are very picky and the instructions need to be followed exactly or the code checker gets confused, and you will get a Bummer
even if the code is functional.
Here the instructions say: "You might need to add a space in there, though."
But you added 2 spaces. Just delete one of the spaces and the code passes.
Nice Job! :)
Sabry Salman
2,465 Pointsgotcha. thank you so much