I'm using JES. The function below will work for what I want it to do, but it doesn't include x and y in the answer. For example, if the first number I enter is 2 and the second number is 8, it prints only 4 and 6. I want it to print 2, 4, 6, 8. Please help! Thanks!
def main():
x=input("Enter the first number:")
y=input("Enter the second number:")
i=0
for i in range (x,y):
if i%2==0:
print i