Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Exponentiation | Python Basics
Introduction to Python | Mobile-Friendly
course content

Contenu du cours

Introduction to Python | Mobile-Friendly

Introduction to Python | Mobile-Friendly

1. Python Basics
2. Variables
3. Strings

book
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.

question mark

What will the following code return?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 5
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt