Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn 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
Task

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

close

Awesome!

Completion rate improved to 2.33

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
Task

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 2
single

single

close

Awesome!

Completion rate improved to 2.33

bookMultiplication and power

Swipe to show 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
Task

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 desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

some-alt