Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

project-6a Write a function named find_median that takes as a parameter a list of numbers. The function should return the median of those numbers, which

project-6a

Write a function named find_median that takes as a parameter a list of numbers. The function should return the median of those numbers, which will require it to sort the list. If you're not familiar with calculating the median, please look that up. Remember that the calculation is different for odd and even groups of values.

For example, it could be used like this:

some_nums = [13,7,-3,82,4] result = find_median(some_nums) 

The file must be named: find_median.py

please code on python

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_2

Step: 3

blur-text-image_3

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

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

Explain the process of MBO

Answered: 1 week ago