why print(2**2**32) fails to work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
22nd Sep 2020, 12:16 PM
2 Answers
+ 7
its printing correct In print statement you wrote print((2**2)**32) Here first bracket will be solve so print(4**32) If u will multiply 4 to the power 32 times u will get result 4*4*4........*4
22nd Sep 2020, 12:18 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
It exceeding SoloLearn server time limit only... Try with values below 20 instead of 32.
22nd Sep 2020, 1:32 PM
Jayakrishna 🇮🇳