To find the standard deviation of a list of numbers in Python, you can use the statistics
module or the math
module.
Here's an example using the statistics
module:
main.py146 chars9 lines
Output:
main.py39 chars2 lines
And here's an example using the math
module:
main.py296 chars15 lines
Output:
main.py39 chars2 lines
gistlibby LogSnag