Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- arreglo_primos = np.array([2, 3, 7, 19, 23])
- # Promedio:
- print(np.mean(arreglo_primos))
- print('')
- # Mediana:
- print(np.median(arreglo_primos))
- print('')
- # Varianza:
- print(np.var(arreglo_primos))
- print('')
- # Desviación estándar:
- print(np.mean(arreglo_primos))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement