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

Kursinnehåll

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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 5

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

course content

Kursinnehåll

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

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 5
Vi beklagar att något gick fel. Vad hände?
some-alt