# Revision history [back]

There is also randrange from the random library which is good for that task:

sage: import random
sage: random.randrange(10^9+1, 10^10, 10)
6071633551


There is also randrange from the random library which is good for that task:task and iis already imported in the global namespace of Sage:

sage: import random
sage: random.randrange(10^9+1, randrange(10^9+1, 10^10, 10)
6071633551


There is also randrange from the random library which is good for that task and iis is already imported in the global namespace of Sage:

sage: randrange(10^9+1, 10^10, 10)
6071633551


There is also randrange from the random library which is good for that task and is already imported in the global namespace of Sage:task:

sage: randrange(10^9+1, import random
sage: random.randrange(10^9+1, 10^10, 10)
6071633551