<filename>Basics/print_prime.py<gh_stars>1-10
# Python program to print all 
# prime number in an interval 

start = 11
end = 25

for val in range(start, end + 1): 
	if val > 1: 
		for n in range(2, val//2 + 2): 
			if (val % n) == 0: 
				break
			else: 
				if n == val//2 + 1: 
					print(val) 

<filename>Basics/print_prime.py<gh_stars>1-10
# Python program to print all 
# prime number in an interval 

start = 11
end = 25

for val in range(start, end + 1): 
	if val > 1: 
		for n in range(2, val//2 + 2): 
			if (val % n) == 0: 
				break
			else: 
				if n == val//2 + 1: 
					print(val) 

# Python program to print all # prime number in an interval