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 trialZeynalka Bob
168 Pointsi got problem
when i do 5 x 12 it says error how to fix cuz x is multiply
2 Answers
Katie Wood
19,141 PointsHello again,
Please let me know if I'm misunderstanding the question, but in python (and most programming languages), * is the multiplication symbol - try that!
For example, you could say something like:
number = 5 * 6
Jacques Troussard
Python Web Development Techdegree Student 194 PointsJust in case here is a list of python's operator symbols
https://www.tutorialspoint.com/python/python_basic_operators.htm
Zeynalka Bob
168 PointsZeynalka Bob
168 Pointssorry thank you again in my country its x the multiply
Katie Wood
19,141 PointsKatie Wood
19,141 PointsIt's okay - a lot of people use x if they're just typing out a math problem for other people to read, so it's an easy mistake to make. In programming, it's just that 'x' could be a variable or something else, so we use * to indicate multiplication.
Zeynalka Bob
168 PointsZeynalka Bob
168 Pointshttps://teamtreehouse.com/community/impossible-2