for i in range(0,10):
if i!= (3 or 7 or 9) :
print(i)
else:
continue
** I want to skip 3 7 and 9 as mentioned code but it remove only 3**.
for i in range(0,10):
if i!= (3 or 7 or 9) :
print(i)
else:
continue
** I want to skip 3 7 and 9 as mentioned code but it remove only 3**.