Question: Hello, The program needs to output those number exactly but not by using the example run results. That is just so we know the code

Hello, The program needs to output those number exactly but not by using the example run results. That is just so we know the code is running correctly Code file: yondu.py Problem Yondu Udonta and his crew arrive at the Iron Lotus after several weeks of plundering various places around the galaxy. The crew has been in space for nearly six months and they are ready for a night of celebration. Yondu doesn't want to divvy up the plunder just yet, so he gives each crew member other than himself and Peter Quill 3 units and sends them off to the Iron Lotus. (We're keeping the units simple for purposes of the problem, even though 1 standard galactic unit is about $2.33.) After the crew has gone, he and Peter count what's left and decide how to split it up among the crew. Yondu takes 13% of the total. He then gives Peter 11% of what's left. The next morning, Yondu divides the remaining amount evenly among all of the crew, including Yondu and Quill. The crew does not know that Yondu and Quill have already taken a cut. The problem is to compute how many units each person gets. Round your answers at each step(basically in 3 places: calculating peter's share, youndu's share and crew's share) to 2 decimal places. It should ask a user for two pieces of information: How many units the pirates came into port with, and How many pirates are on the ship, including Yondu and Quill The program should then split the units and print out Yondu's share Peter's share The Crew share Key Program Requirements and Rubrics While you might observe that certain rubrics are being automatically graded, please note that these scores will not be transferred to Canvas until your instructor or TA comprehensively reviews the entire project and manually assigns grades after the deadline ends. Automatically-graded scoring (85 points) (35) Results of the various amounts to be calculated are correct to 2 decimal places. (35) The program works correctly for different numbers of crew and units, not just the example run. (5) Input prompts match what is shown in the example run exactly. For example How many pirates: (5) Output strings for each amount match the output shown in the example run exactly. For example Yondu's share: followed by the amount. (5) Values are rounded to 2 decimal places. Manually graded scoring (15 points) (5) All variable names and the code follows Python snake case or camelcase. (5) Pay attention to whitespace, punctuation and wording in your prompts and output. (5) f-strings for units should be formatted to 2 decimal places for display. Example Run Here's an example interaction showing user input and output: How many pirates: 20 How many units: 1000 Yondu's share: 159.60 Peter's share: 127.15 Crew's share: 39.62 Count the 3 coins each crew took for shore leave as part of their total share

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