Mid Term exam is all about Scoring Best Grades | Get Flat 5$ OFF on Your Orders Now!!

A group of friends on a skydiving mission ask you to write a Python program | Solution

$40.00

A group of friends on a skydiving mission ask you to write a Python program to help them make important decisions. The program reads a text file “jumpers.txt” as shown in the sample run below. The actual file
has several more lines; the sample only shows a subset.

 

Buy Python homework solution, get solved source code-

  • 100% correct source code
  • Tested by expert
  • Ready to run/execute code

 

Category:

A group of friends on a skydiving mission ask you to write a Python program to help them make important decisions. The program reads a text file “jumpers.txt” as shown in the sample run below. The actual file
has several more lines; the sample only shows a subset.

 

Each jumper must have a main chute that weighs 11 kg and an emergency chute at 9 kg. The airplane can
only carry 500 kg for each flight apart from the pilot and the master coach. Each chute can only handle up
to 105 kg. The aircraft is small and cannot carry anyone taller than 182 cm.

 

Using functions, write a program that receives the file name as a parameter and processes its content in
the form of a list. This list is then sent to second function as a parameter which converts it into 2
dictionaries: one that holds names and weights, and one that holds names and heights. This second function should calculate the total weight of EACH jumper including the equipment. If the weight is more
than the allowable weight, a message is displayed about that jumper not being able to jump. The person
with the lightest weight gets to wear a video camera to record their jump.

 

You may assume the names are unique

jumber txt sample output python solution

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.