Question: EARTH _ GRAVITY = 9 . 8 1 # Write your solution hereEARTH _ GRAVITY = 9 . 8 1 def calculate _ weight _
EARTHGRAVITY
# Write your solution hereEARTHGRAVITY
def calculateweightonplanetweightonearth, otherplanetgravity:
weightonotherplanet weightonearth otherplanetgravity EARTHGRAVITY
return weightonotherplanet
weightonearth floatinputYour weight on Earth kg:
otherplanetgravity floatinputOther planet's gravity ms:
weightonotherplanet calculateweightonplanetweightonearth, otherplanetgravity
printfOn the other planet, you would weigh: weightonotherplanet:f kg
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
