diff --git a/build.py b/build.py index 266c1e3..cbaed5b 100644 --- a/build.py +++ b/build.py @@ -1,2 +1,19 @@ +def lcm(x,y): + if x > y : + g=x + else: + g=y + while(True): + if((g%x==0) and (g%y==0)): + lcm=g + break + g+=1 + return lcm + def solution(num1, num2, end_num): - """Enter Code Here""" \ No newline at end of file + l=lcm(num1,num2) + return [i for i in range(num1*num2,end_num,l)] + +print(solution(2,3,24)) + +help(range) diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..b4e963b Binary files /dev/null and b/build.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..f07c514 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_solution.pyc b/tests/test_solution.pyc new file mode 100644 index 0000000..84ee4a5 Binary files /dev/null and b/tests/test_solution.pyc differ