Q. Write a program to calculate standard deviation for a batsman's score in 10 matches.
Answer :-
import statistics as s data = eval (input ("Enter List of Data :- ")) if len (data) != 10: print ("Please Enter data correctly") else : print ("Standard deviation of a batsman's score in 10 matches is :-", s.stdev(data))
Output :-
Enter List of Data :- [2,5,3,4,6,2,5,3,1,6]
Standard deviation of a batsman's score in 10 matches is :- 1.766981104093143
>>>
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )