Skip to content

Commit a29babd

Browse files
test ipynb.py
1 parent 67b3c17 commit a29babd

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

my_solutions/exercise1.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# coding: utf-8
2+
3+
4+
'''
5+
for i in range(2000,3200):
6+
if i % 7 == 0:
7+
if i % 5 != 0:
8+
print(i)
9+
'''
10+
11+
print ([i for i in range(2000,3200) if i % 7 == 0 and i % 5 != 0])
12+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# coding: utf-8
2+
3+
4+
'''
5+
1st attempt at solution
6+
for i in range(2000,3200):
7+
if i % 7 == 0:
8+
if i % 5 != 0:
9+
print(i)
10+
'''
11+
12+
print ([i for i in range(2000,3200) if i % 7 == 0 and i % 5 != 0])
13+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# coding: utf-8
2+
3+
4+
'''
5+
for i in range(2000,3200):
6+
if i % 7 == 0:
7+
if i % 5 != 0:
8+
print(i)
9+
'''
10+
11+
print ([i for i in range(2000,3200) if i % 7 == 0 and i % 5 != 0])
12+

my_solutions/lol.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)