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 trialRandall Brewster
5,041 Pointscould someone help me create a variable named age with my age in it?
I am having trouble with this challenge could some one help step me thru this?
name = "age"
2 Answers
Gergő Bogdán
6,664 PointsHi,
The code should be something like:
age = 30 #or what is your age
Taylor Laine
9,629 PointsYeah you want to take a said word and store a number to that word. Like x = 11. So in math 1 + x = 12. In this case your variable would be age, and you want to put your age in that variable. So age = 21 or what ever your age is.
Adam Oliver
8,214 PointsAdam Oliver
8,214 PointsThe variable it's self needs to be called age - which will have your age in, not the word.