1

I'm looking at the documentation and it says,

random.random()
Return the next random floating point number in the range [0.0, 1.0).

Are 0.0 and 1.0 inclusive or exclusive?

I'm assuming either [ or ) signifies inclusion, whereas the other signifies exclusion, but I'm not sure which is which...

oldboy
  • 5,729
  • 6
  • 38
  • 86

0 Answers0