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 EganCourses Plus Student 703 Points
task 1 is no longer passing in age.py
can't figured it out why :(
years x 365
Chris HowellPython Web Development Techdegree Graduate 49,610 Points
Hi 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(*)
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