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 Numbers

i got problem

when i do 5 x 12 it says error how to fix cuz x is multiply

2 Answers

Hello 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

sorry thank you again in my country its x the multiply

It'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.