I need to generate a random number between 0 and 7. but it must include decimals up to around 8 places. For example: 3.54367334 or 6.3464357. I haven’t found anything in the random module that would give me something like that. Everything is with integers only, or from 0 to 1 (which is random.random).
Share
While you could rescale
random.random, why not use random.uniform instead?