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 trialDeepak Rajakumaran
7,826 PointsChallenge task
Challenge Task 1 of 1
Simple one this time. Make a variable named age that is assigned to an input() call. Give your input() a prompt of "What is your age?". You might need to add a space in there, though.
My answer was:
age = input('What\'s your age?\n')
I also tried age = input('''What's your age? ''')
age=input("What's your age? ")
None of the above are working
It either says
Bummer! Add trailing spaces or Bumer! Your propmt is incorrecct
age=input('''What's your age?''')
1 Answer
Deepak Rajakumaran
7,826 PointsI am sorry guys. I just realized I was typing "What's your age?" instead of "What is your age?". Thank you for your time.
Godfrey Chamunorwa
5,505 PointsGodfrey Chamunorwa
5,505 Pointsage = input("What is your age? ")