-
Notifications
You must be signed in to change notification settings - Fork 0
/
01.py
31 lines (28 loc) · 875 Bytes
/
01.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# coding=utf-8
import math
n = 100001
for i in range(n):
if i % 2 == 1:
if i % 3 == 0:
if i % 4 == 1:
if i % 5 == 4:
if i % 6 == 3:
if i % 7 == 5:
if i % 8 == 1:
if i % 9 == 0:
print(i)
# if i > 5000:
# break
i = i + 1
# i = 1001
# while i > 0:
# while i % 2 == 1:
# while i % 3 == 0:
# while i % 4 == 1:
# while i % 5 == 4:
# while i % 6 == 3:
# while i % 7 == 5:
# while i % 8 == 1:
# while i % 9 == 0:
# print(i)
# i = i - 1