Script
#!/usr/local/bin/python3.5
numbersTaken = [7, 12, 17, 23, 25]
for n in range(1,30):
if n in numbersTaken:
continue
print(n)
Execution
1
2
3
4
5
6
8
9
10
11
13
14
15
16
18
19
20
21
22
24
26
27
28
29
#!/usr/local/bin/python3.5
numbersTaken = [7, 12, 17, 23, 25]
for n in range(1,30):
if n in numbersTaken:
continue
print(n)
Execution
1
2
3
4
5
6
8
9
10
11
13
14
15
16
18
19
20
21
22
24
26
27
28
29
No comments:
Post a Comment