将300~400不能被3整除的数输出。下列哪段代码正确
A. for i in range (300,401):if i%3==0 continue print i
B. for i in range (299,401):print i, if i%3==0 continue print i
C. for i in range (300,400):if i%3==0 continue print i
D. for i in range (301,401): if i%3==0 continue print i