Run
import random # Specific range min = 2 max = 10 # Generate a random floating point number f = min + (max-min)*random.random() print(f)
Output