Question: Using Python write a program that stores a constant integer then displays the square, cube, and fourth power. Use the ** operator only for the
The output should look like this:
10 squared is 100
10 cubed is 1000
10 to the fourth power is 10000
Note: Dont put 10 in the print statement. Use the constant variable instead.
1) Code with comments and screen shot code please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
