Thank you very much for explaining this, it makes sense now.

It felt natural to me to cube’d it.

print(6 ** 3 * 6)

I also had the same question but that was because I didn’t read where it stated all 6 of the people wanted 6 quilts each. I assumed all 6 wanted a single quilt each. I’m now reading questions and problems many times to ensure I don’t do this again, it’s a bad habit of mine.

or remember after your print call with your() you can import first (6**2) then using order of operations append 66 after the bracket denoting your 6 squared and before your closing bracket for the print call
if you were building a string you could assign 6**2 to one value to denote the material for 1 quilt and create 2 new variables for the persons and quantity per person and then build your print call around resolving those numbers in your formula

# How many squares for 6 people to have 6 quilts each that are 6x6?

quilt = 6 ** 2

print(quilt) # A quilt has 36 tiles

quilt6 = quilt * 6 # The total for 6 Quilts

print(quilt6) # total of quilts for one person

quilt_people_6 = quilt6 * 6 # total of quilts for six persons

print(quilt_people_6)

Okay so, if anyone read the forum and still had a hard time understanding (those of us who aren’t so great at math), this is how my brain understood it!

I wrote:

#6x6 quilt

quilt_6x6 = an_int = 6*6

print(quilt_6x6)

So, when I went to solve the problem, I thought, six people, 6 quilts, has to be multiplied by 6

I initially wrote out: print(quilt_6x6 * 6) → which as you know is wrong

I then proceeded to type out: print(quilt_6x6 * 6 * 6) → which is correct, but for whatever reason it gave me an error, I guess it just wanted me to use the exponent of 6**4

But, I just didn’t understand where the 4 came from. I knew it was the answer, but where was it from?

I then noticed the variable I did “quilt_6x6” is 6*6, which is then multiplied by 6 more quilts for 6 people → 6 * 6 * 6 * 6!

I know it may seem simple for most, but for those who struggle a bit understanding the why’s of math, this is how my brain deconstructed it! c(-:

I’m getting 1296 for an answer but it still comes up as incorrect. I’ve tried several different ways but it still comes up as incorrect.

6 **3 *6 worked. This is in reply of my original post.

I probably did this the long way but for me to work out these problems I really need to write it all out. I passed this exercise by doing the below, I hope it helps.

The number “36” I got from the program as we already worked out how many squares were needed to make a 6x6 quilt.

# Calculation of squares for:

# 6x6 quilt

print(6 ** 2)

# 7x7 quilt

print(7 ** 2)

# 8x8 quilt

print (8 ** 2)

# How many squares for 6 people to have 6 quilts each that are 6x6?

tile_number_for_a_6x6quilt = 36

number_of_quilts_for_each_person = 6 * 36

# Total number of tiles required to fulfil the order of 6 people with each wanting 6 quilts

print(6 * number_of_quilts_for_each_person)

Thanks for the explanation - this is much more clearer.

Thanks, coro121!

That helped me understand the logic behind the math. I was very confused where the 4 came into play, but now I get it.

This was very helpful. Thank you.

Kudos! This got me too!

This helped. Thanks!

Thank you for clarifying this, really helped!

6 quilts for 6 people is 36 is an incorrect explanation, and it will continue to confuse people.

Your 6x6 (36 square unit) quilts have taken off so well, **6 people have each requested 6 quilts.**

Print out how many tiles you would need to make 6 quilts apiece for 6 people.

Incorrect explanation? How so? If you read the very next sentence in his explanation, it is explained perfectly.

- 6 quilts for 6 people is 36 quilts

**The above sentence 6 quilts for 6 people translates to 1 quilt per person which is a total of 6 quilts, which is not the same as 6 quilts per each of the 6 people.**

= 6 quilts per *Each of the 6 people * the Area of 1 quilt.

I still can’t see how the second sentence explains it perfectly

All I am saying is not many people will read that sentence above and immediately realize that 6 quilts for 6 people is the same as 6 quilts per each of the 6 people.

You finding the explanation confusing doesn’t necessarily mean that most people will find it confusing. We’ll just have to agree to disagree. Happy coding!