I don't understand


Can someone help me to explain how can 6*6*6*6(?)

1 Like

Hi and welcome to the forums. Unfortunately that link doesn’t lead to any particular exercise (unless it’s a Pro exercise which I don’t have access to). I assume you’re talking about the ‘Learn Python’ course and the first module, ‘Python Syntax’ but could you specify which exercise number you’re having trouble with?

I’m afraid the question doesn’t make sense without context. Copying and pasting your code or explaining the exact problem you’re having would help other people answer your question better :slightly_smiling_face:

One of the moderators just informed me you’re doing a pro course which is why I couldn’t access it. My mistake.

If each of your quilts uses 6x6 squares, and you’re making 6 quilts for 6 people then to work out the overall number of squares, you need 6 x 6 x 6 x 6, or 6 to the power of 4. The exponent operator in python (**) means ‘to the power of’ so you can work it out with 6**4

Hope that helps!

Thanks for your help,appreciate it :slight_smile:
But How is it 64 instead 66??

I was also confused at how its not 66 but instead it is 64 . I admit I am terrible at maths, but I wish someone would explain it.

the comments section here doesn’t take in the star symbol * between the numbers so it shows as though we typed sixty-six instead of six to the power of six.

If you use the backslash (“escape character”) before an “unprintable” character, it will print.

… to show


1 Like

ah alright, thanks for the info, will stick to that next time!