Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started