Question: What number should i enter? amountCalculated = 0 #Do not change this line #Create an input statement using the input ( ) method and assign
What number should i enter?
amountCalculated #Do not change this line
#Create an input statement using the input method and assign the input value to a variable named amount.
#Make sure to convert the value to float float
#Prompt should state "Enter a number:#If amount is less or equal to then multiple amount by ; assign the result to amountCalculated
#else
#divide amount by ; assign result to amountCalculated#print amountCalculated
amountfloatinputEnter a number:"
if amount:
amountCalculated amount
else:
amountCalculatedamount
printamountCalculated
Enter a number:
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
