Python program to print numbers between given two numbers which is divisible by 2 but not divisible by 3