s=[]
c=0
for i in range(0,2):
    for j in range(0,4):
        c+=1
        if(i<j):
            continue
        c-=1
        s.append(c)
print(s)        

Embed on website

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