How can i do exponentiation | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How can i do exponentiation

tell me about it I can't learned about it I am 15 years old

9th Jun 2017, 6:57 AM
prince verma
2 ответов
+ 7
2²=2*2(2 times multiply 2 by itself)=4 3⁴=3*3*3*3(4 times multiply 3 by itself)=81 ⁵¹=5(1 time multiply 5 by itself) in python print(2**2) #outputs 4 (2²) print(3**4) #outputs 81(3⁴) print(5**1) #outputs 5
9th Jun 2017, 7:23 AM
Tato
Tato - avatar
+ 1
thanks
11th Jun 2017, 3:13 AM
prince verma