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 (2015) Logic in Python Input

need help

I put in 22 then int 22 neither worked

1 Answer

Ah. So, it's not asking you to input your age. It's asking you to put in the function that would convert your age to an integer if you typed it into the prompt, since if you typed in 22, it would be brought in and stored as a string. So you are right with int, but it's just int- nothing else.