subject

Expected submission: TWO (2) Python files, main. py and HelperClasses. py

Make a file called HelperClasses and create a class inside it called Helpers

Inside Helpers, create 8 static methods as follows:

Max, Min, Standard_Deviation, Mean

Each of these should take a list as a parameter and return the calculated value

Bubble

This should take a list as a parameter and return the sorted list

Median

This should take a list as a parameter, should call Bubble to sort the list, then return the median of the list

Mode

This should take a list as a parameter and return the number that is in the list the most

File_Checking

This should take a string as a parameter and return if a file with that name exists

Inside main, you will generate a list of 50 random numbers from 1-10. Then you will ask the user which function they want to user, output the return value, and loop until they decide to quit.

Do not use: Max, Min, Mean, Mode, Sort, stdev functions built into python

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 13:00, mariahrpoulin9630
Which part of the cpu accepts data?
Answers: 1
image
Computers and Technology, 23.06.2019 06:00, ashleyd198308
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
image
Computers and Technology, 23.06.2019 15:00, med69
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a. an advanced knowledge of physics and math b. an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
image
Computers and Technology, 23.06.2019 16:00, CalCDanG
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
You know the right answer?
Expected submission: TWO (2) Python files, main. py and HelperClasses. py

Make a file ca...

Questions in other subjects:

Konu
English, 23.04.2021 19:40
Konu
Mathematics, 23.04.2021 19:40
Konu
Health, 23.04.2021 19:40
Konu
Chemistry, 23.04.2021 19:40
Konu
Mathematics, 23.04.2021 19:50