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
19 changes: 18 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
def find_lcm(num1,num2):
greater = num1 if num1 > num2 else num2

while True:
if (greater % num1 == 0) and (greater % num2 == 0):
lcm = greater
break
greater += 1
return lcm

def solution(num1, num2, end_num):
"""Enter Code Here"""
"""Enter Code Here"""
lcm = find_lcm(num1,num2)
check = lcm
l = []
while(check < end_num):
l.append(check)
check += lcm
return l
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.