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

Kurssisisältö

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 5

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

course content

Kurssisisältö

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

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 5
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt