Question: Write a Python program that computes the power of two inputs (a, b) given by the user and saves the output of power in variable

Write a Python program that computes the power of two inputs (a, b) given by the user and saves the output of power in variable c, then prints the output c. as the following: ** Note that (a) is the base and (b) is the Exponent like this (a^b) Enter the first number a: 2 Enter the second number b: 3 The power is c: 8 For example: Test Input Result Example 1 2,3 8 Example 2 3,1 3 Example 3 1,1 1 Answer: (penalty regime: 10, 20, ... %) Ace editor not ready. Perhaps reload page? Falling back to raw text area
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
