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)
Tarefa
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?
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 2. Capítulo 2
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 2.33
Multiplication and power
Deslize para mostrar o 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)
Tarefa
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?
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 2.33Seção 2. Capítulo 2
single