print(2**5) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

print(2**5)

What is the output of:

18th Feb 2020, 7:32 AM
Timon Kipchirchir Kosgei
Timon Kipchirchir Kosgei - avatar
5 Answers
+ 3
Please mention language in tag. If you are talking about python then answer of (2*5) should be 10 In case of 2**5 it will be 2*2*2*2*2 = 32
18th Feb 2020, 7:40 AM
A͢J
A͢J - avatar
+ 2
Got it
18th Feb 2020, 7:43 AM
Timon Kipchirchir Kosgei
Timon Kipchirchir Kosgei - avatar
+ 2
Guess you're using python?
18th Feb 2020, 11:21 AM
Sonic
Sonic - avatar
0
** is the exponent operator in most languages. 2**3 = 8 4**2 = 16 5**3 = 125
18th Feb 2020, 10:06 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
0
2*2*2*2*2 = 32
20th Mar 2022, 4:28 PM
Vicky Kumar
Vicky Kumar - avatar