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
I don't know where i am Wrong
age = input('What is your age?')
You forgot to put an extra space after your message.
The code challenge asked you to put an extra space after the message but in the string.
This is because if you run this code right now, the user is prompted like this with no extra space between their input and the computer message:
What's your age?30
This means you have to explicitly add a space in the string. If you run this code...
age = input("What's your age? ")
As you see, there's an extra space after the ?
It will have an extra space before the user input, as expected:
What's your age? 30
I hope you understand. ~Alex
Ohhh!! Yes, Thank you Very much, Alex!!!!!
Age= input("What is your age? """)