I dint understand on exponentials | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I dint understand on exponentials

2**5 why 32

18th Nov 2020, 8:07 PM
ethical
 ethical - avatar
2 Answers
+ 2
Exponentiation (bn) is the mathematical operation that multiples a number (b) a certain number of times (n) with itself. There are three ways to program that behaviour in Python. The power operator ( ** ) raises the left value to the power of the second value. Source: https://kodify.net/python/math/exponents/#:~:text=Exponentiation%20(bn)%20is%20the,For%20example%3A%202%20**%203%20.
18th Nov 2020, 8:14 PM
Matias
Matias - avatar
+ 1
Thanks
18th Nov 2020, 8:15 PM
ethical
 ethical - avatar