Everyone a great god, and beg you move hand
CodePudding user response:
import random
Def prime (l) :
Return [I for I l in the if not any ([_ for _ in range (2, 1) I if I _ %==0])]
A=random. Choices (range (1000, 2000), k=30)
Print (prime) (a)
CodePudding user response:
import random
Def prime (l) :
Return [I for I l in the if not any ([_ for _ in range (2, 1) I if I _ %==0])]
A=random. Choices (range (1000, 2000), k=30)
Print (prime) (a)