rougier / numpy-100

100 numpy exercises (with solutions)
MIT License
12.05k stars 5.7k forks source link

Clarify wording for Q39 #193

Closed tvhong closed 1 year ago

tvhong commented 1 year ago

Note

"Evenly spaced" is a requirement for the question. Adding it for clarity.

I'm having troubles updating my python environment so can't regenerate the Jupyter notebook.

rougier commented 1 year ago

Thanks but I think it is implicit when you read the question.

tvhong commented 1 year ago

When reading this question, I thought the ask is to generate random values in the (0.0, 1.0) range. Note that this is different from the [0.0, 1.0) range that what numpy.random.random_sample.

If you still think this isn't a worthwhile clarification, please feel free to close this PR.