WSQ10 #Juan Antonio Olvera Robles awn=1 print(“standard deviation”, dev(ad))<\/p>\n <\/p>\n","protected":false},"excerpt":{"rendered":" WSQ10in this program i make i save numbers in alist whit a append to get the standar derivationhere is my programhttps:\/\/github.com\/juanheuforico\/mastery\/blob\/master\/WSQ10.py#Juan Antonio Olvera Roblesimport mathimport statisticsawn=1lis=[]while(awn!=’… Continue reading
in this program i make i save numbers in alist whit a append to get the standar derivation
here is my program<\/a>
https:\/\/github.com\/juanheuforico\/mastery\/blob\/master\/WSQ10.py<\/a><\/p>\n
import math
import statistics<\/p>\n
lis=[]
while(awn!=’n’):
ad=float(input(“give me a number to put it in a list”))
lis.append(ad)
awn=str(input(“do you want add another number? put n for no”))
def dev(ad):
suma=0
print(lis)
print(len(lis))
for i in range(0,len(lis)):
suma=suma + lis[i]
average=suma\/len(lis)
dev=average**.5
return dev<\/p>\n