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 Types and Branching Numbers

rujira tona
rujira tona
9,432 Points

What would be stored in the "age" variable?

a = 37 b = 3 c = 3

1 Answer

Steven Parker
Steven Parker
231,269 Points

You mistyped one of the choices there, which happened to be the correct answer.

But to arrive at the answer, just think about what the function round does. It returns the closest whole number. So when you see age = round(3.7) … what's the closest whole number to 3.7? Look again at the quiz, one of the choices will be the correct value.