To find the standard deviation of all elements in an array in Python, you can use either the statistics
module or the numpy
module.
Using the statistics
module:
main.py224 chars11 lines
Output:
main.py52 chars2 lines
Using the numpy
module:
main.py210 chars11 lines
Output:
main.py52 chars2 lines
gistlibby LogSnag