+ 1
2**5
How?i still do not know,:-! ? ????
3 ответов
+ 4
It works like exponenting in maths.
2**2 is 2² in maths.
2**2 = 2*2 = 4
2**3 = 2*2*2 = 8
2**4 = 2*2*2*2 = 16
There is also a pow function to perform the same task.
pow(3, 2) = 3**2 = 3*3 = 9
pow(3, 3) = 3**3 = 3*3*3 = 27
pow(3, 4) = 3**4 = 3*3*3*3 = 81
Exponenting also includes 3 special cases, which I won't mention to not confuse from the most important basics.
+ 3
2*2*2*2*2
+ 2
1. 2. 3. 4. 5.
(2*2=4*2=8*2=16*2=32) ==2**5