0

how do i understand exponentiation in python and also the process of it?

please tell me the process to do it

4th Jul 2018, 12:22 AM
Shubhendra Kumar Shaw
Shubhendra Kumar Shaw - avatar
2 odpowiedzi
+ 1
In python, try it in your terminal >>> 2 ** 3 = 8 This means: 2 * 2 * 2 = 8
19th Aug 2018, 8:28 AM
Charlie
0
It's the same as in real life, you use ** for exponentation 5**3 = 5 * 5 * 5 = 25*5 = 125
4th Jul 2018, 3:29 AM
Markus Kaleton
Markus Kaleton - avatar