This is for homework...
I need to generate a list of random numbers on command
================================================== ========
? random 5
Result: [0.0079262051586875826, 0.9649961654385576, 0.29754284663124386, 0.57334520230032837, 0.78848891112000485]
================================================== ========
above is the example given on the assignment
if the user type "random 5"
the result should be like the next line
I did find the way to generate multiple random numbers(as below)
however I was unable to put it into one list
======================
for i in range(5):
[random.random()]
0.82671878278405198
0.067816460670788947
0.20465570826116297
0.45422751782927828
0.88473905028917987
======================
Please and Thank You for replying