How do ya solve exponentiation | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
0

How do ya solve exponentiation

2**4

23rd Dec 2019, 9:13 PM
Triple N
4 Respostas
+ 1
print (2**4)
23rd Dec 2019, 9:43 PM
Mihai Apostol
Mihai Apostol - avatar
+ 1
If you're talking about the steps, the first, leftmost number is multiplied a certain number of times based on the second, rightmost number. For example, 2 ** 4 is equal to 16, because: 2 * 2 * 2 * 2 = 16
23rd Dec 2019, 10:32 PM
Jianmin Chen
Jianmin Chen - avatar
0
?
23rd Dec 2019, 9:28 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
just multiply left integer with same number to number of times which mentioned on right side 2*2*2*2 = 16
17th Mar 2020, 11:36 AM
Shubham Pandit
Shubham Pandit - avatar