Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are many ways.

Here is a simple one using randint:

sage: randint(10^9, 10^10 - 1)
click to hide/show revision 2
No.2 Revision

There are many ways.

Here is a simple one using randint:

sage: randint(10^9, 10^10 10 * randint(10^8, 10^9 - 1)
1) + 1