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