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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Kwun Kit Lau](https://uploads.teamtreehouse.com/production/profile-photos/5783432/micro_Silicon.jpg)
Kwun Kit Lau
1,260 Pointswhy age = int(input("What is your age?" )) does not work?
age = int(input("What is your age?" ))
age = int(input("What is your age?" ))
2 Answers
![Jennifer Nordell](https://uploads.teamtreehouse.com/production/profile-photos/5432702/micro_jen-square.jpg)
Jennifer Nordell
Treehouse TeacherThey hint that they want a trailing space in the details of the challenge instructions. What they mean is that they want a space between your question mark and end quotes. If I copy/paste your code and add that space, it passes! Here's a look at your code with the added space:
age = int(input("What is your age? " ))
![Carlos Federico Puebla Larregle](https://uploads.teamtreehouse.com/production/profile-photos/5116222/micro_1011735_10201788726664507_1068010854_n.jpg)
Carlos Federico Puebla Larregle
21,074 PointsIt is because is not asking for you to use the "int()" function. Just use the input() function like this:
age = input("What is your age? ")
I hope that helps