2**5 = 32 .. I dont understand how it can result 32 in python. can somebody help me .. thanx | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

2**5 = 32 .. I dont understand how it can result 32 in python. can somebody help me .. thanx

2nd Mar 2016, 9:26 AM
Prakasa Devetek
Prakasa Devetek - avatar
5 Answers
+ 22
2**5 The two asterisks (**) means that it is an exponent. So, 2 raised to the power of 5. All this means is that you multiply 2 by itself five times. So: 2*2*2*2*2 = 32.
12th Mar 2016, 7:10 AM
Antonio
Antonio - avatar
+ 7
** this idicates raised to sign which we normaly used like ^ this, hence ^ or **; both works as same
22nd Jun 2016, 4:47 AM
Kanchan Joshi
Kanchan Joshi - avatar
0
👍🏽
20th Feb 2019, 5:23 PM
ulan nugman
ulan nugman - avatar
0
Thanks bro or sis
28th Apr 2020, 8:58 AM
Numan Waseem
Numan Waseem - avatar
0
Antonio thanks youre a life saver
1st Dec 2020, 10:49 AM
Ripples
Ripples - avatar