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
#10
(Feb-06-2020, 02:54 PM)Gribouillis Wrote: So you need a value that will be smaller than min(a, b, c, d)? Then choose a random number below this value, for example random.uniform(-10000000, min(a, b, c, d))

thanks
Reply


Messages In This Thread
RE: random.uniform is not working correctly - by dron4ik86 - Feb-06-2020, 03:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  "Random" module is not working as expected Genericgamemaker 1 1,113 Jul-25-2024, 04:46 PM
Last Post: Gribouillis
  If statement not working correctly? MrKnd94 2 1,707 Nov-16-2022, 02:49 AM
Last Post: deanhystad
  Finding MINIMUM number in a random list is not working Mona 5 4,652 Nov-18-2019, 07:27 PM
Last Post: ThomasL
  random selection of song and artist not working Unknown_Relic 2 3,228 Nov-08-2019, 02:06 PM
Last Post: perfringo
  Working with Random Generated Numbers YoungGrassHopper 4 5,204 Sep-10-2019, 06:53 AM
Last Post: YoungGrassHopper
  How do you know when a library is working correctly? grjmmr 1 3,302 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