Program 22
Write a function called primes that is given a number n and returns a list of the first n primes. Let the default value of n be 100.
Program:
Output:
No comments:
Post a Comment