-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pregunta extra01:e2 #12
Comments
Hola @noemiprian, ¿Podrías compartir cómo estás corriendo tu función? Usualmente esto ocurre cuando corres una función sin evaluarla. In [1]: len
Out[1]: <function len(obj, /)> |
def std(x):
suma=0
for n in x :
suma=suma+1
promedio = suma/n
sumaB= 0
for j in x:
sumaB=(j-promedio)**2+sumaB
(sumaB/n-1)**(1/2)
return (std) |
Hola @noemiprian. Si revisas la última línea de tu código, estás regresando es una función (la que definiste) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tengo una duda sobre la desviación estándar
Por lo que al programar la función, asignar los valores al correr el programa me regresa esto:
<function main.std(x)>
¿Qué significa?
The text was updated successfully, but these errors were encountered: