Question: Write in Python please! Scientists measure an object's mass in kilograms and its weight in newtons. If you know the amount of mass of an

Write in Python please!

Write in Python please! Scientists measure an object's mass in kilograms and

Scientists measure an object's mass in kilograms and its weight in newtons. If you know the amount of mass of an object in kilograms, you can calculate its weight in newtons with the following formula: weight = mass * 9.8 Write a function that takes an object's mass in kilograms and then calculates its weight If the object weighs more than 1,000 newtons, the function displays a message indicating that it is too heavy. If the object weighs less than 10 newtons, display a message indicating that it is too Light; otherwise, display the object is neither heavy not light. Your program should ask the user for the object's mass and pass it to the function. Sample runs: Enter the object's mass in kilograms: 200.5 Object Weight: 1964.9 The object is too heavy. It weighs more than 1000 Newtons. >>> Enter the object's mass in kilograms: 5.5 Object Weight: 53.900000000000006 The object is neither heavy nor light. >>> Enter the object's mass in kilograms: 0.5 Object Weight: 4.9 The object is too light. It weigha less than 10 Newtons

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!