5.py
310 Bytes
#!/usr/bin/python
import sys;
def isEvenlyDivisible(num, start, end):
for i in range (start, end+1):
if(num % i):
return False;
return True;
start = int(sys.argv[1]);
end = int(sys.argv[2]);
i = end;
while(True):
if(isEvenlyDivisible(i,start,end)):
break;
i += 1;
print "Result is: " + str(i);