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)
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?
Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 2.33Awesome!
Completion rate improved to 2.33
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)
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?
Løsning
Takk for tilbakemeldingene dine!
single
Awesome!
Completion rate improved to 2.33
Multiplication and power
Sveip for å vise menyen
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)
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?
Løsning
Takk for tilbakemeldingene dine!