Andrew K.

asked • 06/02/21

CIS_File_Invoice

Create a program that summarizes the total invoice for the countries Germany, Norway, Belgium, Canada, USA, France, Ireland, and United Kingdom plus indicate how many invoices for each country and the average invoice amount for each country.


The output report will be formatted in column format and consist of the following with headers. (please note this is an example of the formatted output, not an actual result from the program)

Country          Num_Invoices            Avg$/Invoice Total Amount $

USA                           10                               15.50              155.00

Peru                            3                                 4.25                12.75

Formatting round any calculations to 2 decimal places, the output should contain at the most 2 decimal locations (no more or no less) for floats.





1 Expert Answer

By:

Rachael F. answered • 06/02/21

Tutor
5 (46)

Data Science Python Expert, 6+ Years of Professional Experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.