Miscellaneous Tips
Learn how to use sum(), pickle, and input() functions.
We'll cover the following
sum()
almost anything
The built-in sum()
function is an excellent tool for summing up all numbers in an iterable and for
operations dependent on such summation. For example, we can easily calculate the mean of a set, even if we don’t have access to statistics, numpy
, scipy
, or a similar module:
Get hands-on with 1400+ tech skills courses.