Last active
November 16, 2016 19:57
-
-
Save kaansan/4166e53218827777230cc357bb447556 to your computer and use it in GitHub Desktop.
asal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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