Skip to content

Instantly share code, notes, and snippets.

View computerbeetle's full-sized avatar

computerbeetle

View GitHub Profile
@computerbeetle
computerbeetle / primes.py
Created May 1, 2026 21:31
python code for displaying all prime numbers having 3 digits and starting with 5
for num in range(500, 600):
prime = True
for i in range(2,num):
if num % i == 0:
prime = False
if prime == True:
print(num)