exponential? >>>5**2=32? how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

exponential? >>>5**2=32? how?

Why is >>>5**2 =32? It doesn’t make sense in python

27th Mar 2018, 1:05 AM
Washik
Washik - avatar
3 Answers
+ 7
Are you sure you put it in that order? I mean, if you put it backwards it gives that result: 2 ** 5 = 32
27th Mar 2018, 2:07 AM
Mickel
Mickel - avatar
0
5**2 = 5*5 = 25 always, but 2**5 = 2*2*2*2*2 = 32 always.
27th Mar 2018, 2:59 AM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
0
Are you sure you gave the right input?Please check that again because it seems like there is a bug in your input.
27th Mar 2018, 12:00 PM
Najia Afrin
Najia Afrin - avatar