Python Forum
random.uniform is not working correctly
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random.uniform is not working correctly
#7
dron4ik86 Wrote:Same problem
It is not a problem. You cannot expect that the value returned by this algorithm satisfies the inequalities that you wrote. For example if you call uniform(1, 5), it is not a problem if the result is > 2 or < 2
Reply


Messages In This Thread
RE: random.uniform is not working correctly - by Gribouillis - Feb-06-2020, 02:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  If statement not working correctly? MrKnd94 2 884 Nov-16-2022, 02:49 AM
Last Post: deanhystad
  Finding MINIMUM number in a random list is not working Mona 5 3,176 Nov-18-2019, 07:27 PM
Last Post: ThomasL
  random selection of song and artist not working Unknown_Relic 2 2,423 Nov-08-2019, 02:06 PM
Last Post: perfringo
  Working with Random Generated Numbers YoungGrassHopper 4 3,337 Sep-10-2019, 06:53 AM
Last Post: YoungGrassHopper
  How do you know when a library is working correctly? grjmmr 1 2,479 Jul-24-2018, 03:08 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020