I don't understand the part where you raise one number to the power of the other | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't understand the part where you raise one number to the power of the other

exponentiation

22nd Sep 2016, 7:14 PM
amuh carrington
amuh carrington - avatar
5 Answers
+ 6
2**3 is 2*2*2 3**4 is 3*3*3*3 6**8 is 6*6*6*6*6*6*6*6 42**2 is 42*42 Clear enough?
22nd Sep 2016, 8:04 PM
Zen
Zen - avatar
+ 1
raising a number in Python is very easy for example 4 raised to power 2 the code for this is 4**2 which returns the integer 16
22nd Sep 2016, 7:57 PM
Rajab
Rajab - avatar
0
what question is?
22nd Sep 2016, 7:36 PM
Daniel de Lizaur
0
raising a number in Python is very easy for example 4 raised to power 2 the code for this is 4**2 which returns the integer 16
22nd Sep 2016, 7:56 PM
Rajab
Rajab - avatar
0
thanks a lot guys i appreciate
22nd Sep 2016, 9:03 PM
amuh carrington
amuh carrington - avatar