Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Julie Egan
Courses Plus Student 703 Pointstask 1 is no longer passing in age.py
can't figured it out why :(
years x 365
1 Answer

Chris Howell
Python Web Development Techdegree Graduate 49,610 PointsHi Juliana Egan
So when you are doing math, you will have to use the Python operators built in to the language to do math operations. I realize when you do math on paper you could use x to represent multiplication, but Python looks at x like its just another variable. To do multiplication in Python you would use the asterisk(*)
EXAMPLE
So if i wanted to multiply 20x20 and store it in a variable called twenties:
twenties = 20 * 20
You can look up others in Python Docs for Operations

Julie Egan
Courses Plus Student 703 Pointsthank you ever so much!! I must have missed that bit on the video :)

Chris Howell
Python Web Development Techdegree Graduate 49,610 PointsNo problem, glad it helped!
Julie Egan
Courses Plus Student 703 PointsJulie Egan
Courses Plus Student 703 Pointsit went the wrong code, my first time posting sorry, but when I assign years = 39 I pass the first task then on the next one says task 1 no longer passing :(