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) Python Data Types Age Calculation

Grayson Jones
Grayson Jones
550 Points

I assigned the value 18 to the variable "years", then when I move on to the next task it isn't loading in.

That's all.

age.py
years = 18
Jeff Muday
Jeff Muday
Treehouse Moderator 28,722 Points

Your syntax is perfect (obviously). It could be the session/request isn't completing. Your internet connection may have been temporarily slow enough to cause a problem with the current session/request data. I would close the current browser tab or restart the browser altogether then reload it again and start the exercise over.

1 Answer

Blayne Holland
Blayne Holland
19,321 Points

Maybe you have to be older? I'm 25 and it worked for me :)

lol but seriously, could be a technical problem, its going okay for me on a few browsers. Maybe trying clearing your cache, sign out, sign back in?