python get median, mean code example Example: median in python import statistics statistics.median(list_name)