+ 3

In python ,what is 10**2**3? Is it 1000000?

please help

20th Jul 2017, 10:34 AM
BEENA KURIAN
BEENA KURIAN - avatar
5 Answers
+ 14
no... but all you had to do to find out was run print(10**2**3) not worth a question here, I think
20th Jul 2017, 10:47 AM
Ahri Fox
Ahri Fox - avatar
+ 7
No, it will give you 100000000 (8 zeros), the reason is ** is performed from right to left, so, you'll have: 10**2**3 = 10**8.
20th Jul 2017, 10:51 AM
BĂ ng Tứ Cường
BĂ ng Tứ Cường - avatar
+ 4
thank uuu @ BĂ ng TĂș CĂșong
20th Jul 2017, 11:01 AM
BEENA KURIAN
BEENA KURIAN - avatar
+ 2
that question comes in challege round. but my answer was shown wrong.
20th Jul 2017, 10:48 AM
BEENA KURIAN
BEENA KURIAN - avatar
+ 1
print(10**2**3) That bit of code will give you your answer
20th Jul 2017, 10:47 AM
LordHill
LordHill - avatar