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

Conteúdo do Curso

Learn Python from Scratch

Learn Python from Scratch

1. The basics
2. Arithmetic operations
3. Common data types
4. Conditional statements
5. Other data types
6. Loops
7. Functions

Multiplication 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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 2
toggle bottom row

Multiplication 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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 2. Capítulo 2
toggle bottom row

Multiplication 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

Tarefa

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

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

Tarefa

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

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 2
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt