Help me in solving LOFF4 problem

My issue

In the given problem, the below statement is unclear
Output to the console a sequence of numbers ending at 24 using “for” loop and the “range()” syntax

Can anyone please explain? As per my understanding we have to print 2,4,6,8

My code

for x in range( 2,10,2 ):
  print(x)
print("LOOP ENDED")

Learning course: Learn Python
Problem Link: 4 - Use of Range in for loops Practice Problem in Learn Python - CodeChef

@malathi_kms
U have to do it like this

for x in range(25):
  print(x)
print("LOOP ENDED")

Thanks a lot @dpcoder_007, it worked!! :smiley: