Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Multiplication and power | Arithmetic operations
Learn Python from Scratch

bookMultiplication and power

Multiplication is similar (use * to multiply numbers or variables).

To raise number or variable into a power use ** operator (see examples below):

12345
# Example of multiplication print(2*21) #Example of power print(2**21)
copy
Tâche

Swipe to start coding

If you invested $1 in stock market and it returns 15% a year, how much you will have after 10 years?

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

Awesome!

Completion rate improved to 2.33

bookMultiplication and power

Glissez pour afficher le menu

Multiplication is similar (use * to multiply numbers or variables).

To raise number or variable into a power use ** operator (see examples below):

12345
# Example of multiplication print(2*21) #Example of power print(2**21)
copy
Tâche

Swipe to start coding

If you invested $1 in stock market and it returns 15% a year, how much you will have after 10 years?

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

close

Awesome!

Completion rate improved to 2.33
Section 2. Chapitre 2
single

single

some-alt