Unsure why the continue statement in my For Loop isn't working

Hi,

I was playing around with loops and functions. However, when I tried to create a function that removed the even numbers from a list, the list was only printed unchanged to the console. I’m not sure why this doesn’t work:

def remove_even_numbers(my_list):
  for num in my_list:
    if num % 2 == 0:
      continue
    return (my_list)

print(remove_even_numbers([2, 4, 6, 7, 8, 15]))

The list is unchanged and you are returning it in the first iteration of the loop.