sum, max, min, and statistics method with list and generator in python
If you have data both in list or generator, you can simplify the calculation by using sum(), max()...
Tags: python, generator, statistics