use std::ops::Div; pub fn median(numbers: &[E]) -> E { let mut numbers = numbers.to_vec(); numbers.sort(); let mid = numbers.len() / 2; numbers[mid] }