Exponentiation in Python | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita

Exponentiation in Python

hello! I'm currently doing the python course on sololearn (that i'm enjoying very much), but i came across a statement that i don't get. Can anybody explain to me what this means? "You can chain exponentiations together. In other words, you can rise a number to multiple powers. For example, 2 3 2." cheers!

8th Oct 2018, 6:35 AM
Helen - avatar
2 Respuestas
+ 7
2**3**2 = 2**9 = 512
8th Oct 2018, 6:56 AM
Anna - avatar
+ 1
thank you so much, Anna!
8th Oct 2018, 10:49 AM
Helen - avatar