Question: m _ str = input ( ' Input m: ' ) # do not change this line # change m _ str to a float
mstr inputInput m:
# do not change this line
# change mstr to a float
# remember you need
#
printe e # do not change this line
:
Terminal
codio@vistagranitelotusplate: workspace$
Collapse
Einstein
Einstein's famous equation states that the energy in an object at rest equals its mass times the square of the speed of light cThe speed of light is
Complete the provided skeleton code so that it:
Accepts the mass of an object remember to convert the input string to a number, in this case, a float
Calculate the energy, e using Einstein's equation above
Prints e
Prints e
Test
Check your answer against the solution with different user inputs: Check and Check
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
