SectionΒ 2. ChapterΒ 2
single
Multiplication 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)
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
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat