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
#2
I don't understand the concept of left/right/up/down when it comes to latitude.
assuming up is north and down is south, values are from -90 to 90. so 4 values can be ordered uniquely in ascending order (creating 5 intervals within that range), where do you want random values?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: random.uniform is not working correctly - by buran - Feb-06-2020, 02:30 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,422 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