Question: Write a script which: Uses the input function to get any number and store it in a variable named my _ number Create a new
Write a script which:
Uses the input function to get any number and store it in a variable named mynumber
Create a new variable named calculation which equals mynumber plus
Multiply calculation by
Subtract from calculation
Divide calculation by
Subtract mynumber from calculation
Print calculation
This should match the output under Desired Output.# Ask users to enter any number
# assign it to the variable mynumber
# Create a new variable called
# calculation that is equal to
# mynumber plus
calculation mynumber
# Multiply calculation by
# Subtract from calculation
# Divide calculation by
# Subtract mynumber from
# calculation
# Print the resulting calculation
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
