Changed Solution 1 in Python to find multiples < 1000 instead of <= 1000