Question: Write a program with two separate if statements: Create a variable called power that holds an integer. Assign an integer to this variable. Write one
Write a program with two separate if statements:
Create a variable called power that holds an integer. Assign an integer to this variable.
Write one if statement that displays the message Correct amount of power if the power is inside the range through
Write another if statement that displays the message Incorrect amount of power if the power is outside the range through
Do not use Python's range function for this exercise.
You will create if statements following steps and abovenot an if statement and an else statement.
Sample input output:
Correct amount of power.
Sample input output:
Incorrect amount of power.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
