SyntaxFix
Write A Post
Hire A Developer
Questions
random.uniform(a, b) appears to be what your looking for. From the docs:
random.uniform(a, b)
Return a random floating point number N such that a <= N <= b for a <= b and b <= N <= a for b < a.
See here.