Skip to content

Instantly share code, notes, and snippets.

@kaansan
Last active November 16, 2016 19:57
Show Gist options
  • Save kaansan/4166e53218827777230cc357bb447556 to your computer and use it in GitHub Desktop.
Save kaansan/4166e53218827777230cc357bb447556 to your computer and use it in GitHub Desktop.
asal
ilk = int(input("gir\n"))
son = int(input("gir \n"))
sonuc = set()
for i in range(ilk, son, 1):
for bolen in range(2, i, 1):
if i % bolen == 0 and i % i == 0:
pass
else:
sonuc.add(i)
print(sonuc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment