You should be able to work this out, just break it down into smaller chunks
1) construct your for loop - don't forget you can increment by a factor of two
2) write print statement
3) See
Divisibility rule[
^] for the rules to see if a number has any simple factors
4) Check to see if the current number can be divided by any of the discovered primes so far
This should be enough to get you started