Answers for "calculate the median of a list python"

1

median of a list python

import statistics

lst = [1,3,6,13,27]
median_value = statistics.median(lst)
print(median_value)
Posted by: Guest on March-25-2021
3

median in python

import statistics

statistics.median(list_name)
Posted by: Guest on May-23-2020

Code answers related to "calculate the median of a list python"

Python Answers by Framework

Browse Popular Code Answers by Language