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

Sam Peck
Sam Peck
773 Points

Quiz keeps saying I'm wrong when I'm pretty sure I'm correct

The quiz question is asking

I need age to be an integer. What do I need to add?

age = _______ (input("What is your age? "))

I am writing int( in the blank space but it keeps saying I'm wrong, although I'm pretty sure that's correct.

2 Answers

Per Karlsson
Per Karlsson
12,683 Points

Weird, I just tried it and I just typed int and it worked.

Try reloading or restarting your browser :)

Sam Peck
Sam Peck
773 Points

Yours worked! Turns out I was putting in an unnecessary parentheses. Thank you!