Evens in the interval Print all even integers from the interval [a, b] in decreasing order.
Input example #1
2 7
Output example #1
6 4 2
here is my code:
a,b = map(int,input().split())
for i in reversed(range(a,b,2)):
print(i,end=" ")
how can i do this without reversed?