A script language of time-sharing scheduling coroutine in single thread
p = Import('prime');
Generate a prime number greater than or equal to a given number.
p.prime(base);
Input:
base
- an integer number.Return value:
Error:
Example:
p = Import('prime');
sys = Import('sys');
sys.print(p.prime(22));
The output is:
23