13 lines
158 B
Python
13 lines
158 B
Python
import numpy as np
|
|
|
|
I = [
|
|
[1, 4, 6],
|
|
[3, 2, 1],
|
|
[6, 8, 2],
|
|
]
|
|
|
|
I = np.asarray(I)
|
|
|
|
print("Median", np.median(I))
|
|
print("Mittelwert", np.average(I))
|