summaryrefslogtreecommitdiff
path: root/python/other/lab6.py
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:17:15 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:17:15 -0700
commit3813621611945a0be23384c0c4d395b4c4a614ad (patch)
tree1812fd440839272e7dd16f5635e180769a66f5f1 /python/other/lab6.py
Diffstat (limited to 'python/other/lab6.py')
-rw-r--r--python/other/lab6.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/python/other/lab6.py b/python/other/lab6.py
new file mode 100644
index 0000000..f41e9bc
--- /dev/null
+++ b/python/other/lab6.py
@@ -0,0 +1,17 @@
+import numpy as np
+
+data = [384, 381, 384, 383, 385, 382, 384, 383, 384, 382]
+
+# print(np.average(data))
+# print(np.std(data))
+
+data2 = [1.32, 1.40, 1.48, 1.35]
+
+print(np.average(data2))
+print(np.std(data2))
+
+data3 = [0.27,0.30,0.30,0.31,0.29,0.27]
+
+# print(np.average(data3))
+# print(np.std(data3))
+