Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
def solution(num1, num2, end_num):
"""Enter Code Here"""
ls = []
i=1
nos = range(1,end_num+1)
while(i!=len(nos)):
if (i%num1==0)and(i%num2==0):
ls.append(i)
i=i+1
print ls
return ls
#This does use a loop, but NOT a for-loop.
solution(2,3,13)
Binary file added build.pyc
Binary file not shown.
Binary file added tests/__init__.pyc
Binary file not shown.
Binary file added tests/test_solution.pyc
Binary file not shown.