for n in range (1,10):
    if n%3==0:
        continue
    print (n, end=' ')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: