Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

repeated here: Alabaster 40 50 23 18 Anniston 56 78 34 11 Athens Auburn Decatur 44 23 56 11 Florence 55 67 33 23 Gadsden

image text in transcribed
repeated here: Alabaster 40 50 23 18 Anniston 56 78 34 11 Athens Auburn Decatur 44 23 56 11 Florence 55 67 33 23 Gadsden 45 67 54 77 0 34 18 30 55 67 23 11 Write Python code that do the following: 1) Sum up all 4 quarter revenues and average them. 2) Sort the cities according to their Q1, Q3 and total revenues. (100 points) PyCharm Edu 3.0 Eile Edt View Navigate Code Help Run 1 Total Average 178 122 131 City Revenue Florence SS, 67,33, 231 Athena [40, 34, 18, 30] 11 Alabaster [40, so, 23, 18] 44.50 30.50 32.75 Anniston [56,78,34,11] 179 44.75 Decatur 44 23, 56, 11 1333.s0 Gadaden [45, 67, 54, 77] 243 eo.75 Auburn 5, 7, 23, 1 156 39.00 Sort the cities by their Quarcer 1 revennes 'Athens'Alabare Decatur". GadadenFlorence ubur"eniaton Sort the cities by thei Quarter 3 revenues Sort the cities by their total revenues Frocess finished vith exit code 0 Run Python Console Platform and Plugin Updates: PyCharm Edus ready to update. (4 minutes ago) 201 CRLF: UTF-8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions