Dark theme

Answers


So, here's one answer: stats.py. An alternative to the standard library is to use something like numpy, which allows much more sophisticated list slicing. In numpy the answer might look like this: numpy_stats.py. You can see why people use numpy.