n = int(input("Enter the number of terms: "))

even_series = []

for i in range(1, n+1):

if i % 2 == 0:

even_series.append(i)

print("The even series is: ", even_series)

n = int(input("Enter the number of terms: "))

even_series = []

for i in range(1, n+1):

if i % 2 == 0:

even_series.append(i)

print("The even series is: ", even_series)

1 Like

start = int (input(â€śenter the start range:â€ť)

end = int (input(â€śenter the end of range:â€ť)

for num in range (start, end+1)

if num%2==0:

print(num,end=" ")

1 Like

n = int(input(â€śEnter the number of even termâ€ť)

even _series =

for i in range(1, n=1):

if i %2==0:

Even_series.append(i)

print(â€śThe even series is:â€ť even_series)

Correct keep it up

Good and correct . Keep it up