random float number list generator between two numbers code example Example: random float python import random print(random.random(1, 10)) # any int or float