+ 3
how to calculate ** this? ex: 2 ** 5 how we get this answer 32
thanks !
2 Respuestas
+ 3
** is raise to operator and calculate x raise to the power y
In given example 2**5 = 2×2×2×2×2=32
+ 1
Okay. So, basically i'll outline this and one similar operator.
2 * 5 means that 2 is multiplied by 5, which would give 10.
2 ** 5 means that 2^ 5. More specifically, 2 * 2 * 2 * 2 * 2. This gives 32