make random floats code example Example: random float python import random print(random.random(1, 10)) # any int or float