Question: Problem 1 3 . ( Uniform Random Numbers ) Write a program called stats.py that accepts a ( int ) and b ( int )

Problem 13.(Uniform Random Numbers) Write a program called
stats.py that accepts a(int) and b(int) as command-
line arguments, generates three random floats , and (:x3}, each from the interval [a,b), computes their mean =
x1+x2+x33, variance var=(x1-)2+(x2-)2+(x3-)23, and standard deviation =var2, and writes those
values to standard output, separated by a space.
_/workspace/straightline_programs
$ python3
stats.py 01
$ python3
stats.py 50100
91.373683029687725.2888302385381825.028800079396494
Problem 1 3 . ( Uniform Random Numbers ) Write a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!