Exponentiation
Another basic operation is exponentiation. This operation is equivalent to multiplication by itself a multiple number of times. For example, 5 raised to the third power is 125, since 5 * 5 * 5 = 125.
To perform exponentiation in Python, use the **
operator. The base is on the left, and the exponent is on the right of the **
operator.
Bedankt voor je feedback!
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Stel mij vragen over dit onderwerp
Vat dit hoofdstuk samen
Toon voorbeelden uit de praktijk
Awesome!
Completion rate improved to 4
Exponentiation
Veeg om het menu te tonen
Another basic operation is exponentiation. This operation is equivalent to multiplication by itself a multiple number of times. For example, 5 raised to the third power is 125, since 5 * 5 * 5 = 125.
To perform exponentiation in Python, use the **
operator. The base is on the left, and the exponent is on the right of the **
operator.
Bedankt voor je feedback!