Untitled

 avatar
unknown
plain_text
a year ago
238 B
5
Indexable
c=0
s=0
i=1

while(i==1):
    a=int(input("enter a no."))
    b=int(input("enter a frequecy"))
    s=s+b
    c=c+1
    i=int(input("do u wish to enter more no.? if yes enter 1 else any other digit to quit="))
print("mean=",s/c )
Editor is loading...
Leave a Comment