Exponentiation in Python | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

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
Helen - avatar
2 Réponses
+ 7
2**3**2 = 2**9 = 512
8th Oct 2018, 6:56 AM
Anna
Anna - avatar
+ 1
thank you so much, Anna!
8th Oct 2018, 10:49 AM
Helen
Helen - avatar