Untitled

mail@pastecode.io avatar
unknown
python
a month ago
177 B
5
Indexable
Never
def is_prime(num):
	for i in range(2, num):
    	if num % i == 0:
        	return False
	return True
    
for number in range(500, 600):
	if is_prime(number):
    	print(number)
Leave a Comment