Can someone help me to explain how can 6*6*6*6
(?)
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
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
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.
Type
6\*\*2
⌠to show
6**2
ah alright, thanks for the info, will stick to that next time!