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)
Tarea
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?
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 2
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2.33
Multiplication and power
Desliza para mostrar el menú
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)
Tarea
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?
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 2.33Sección 2. Capítulo 2
single