# to print numbers from 1 to 20 except multiple of 2 & 3
for x in range(20):
if (x == 2 or x==3):
continue
print(x,end=' ')
print("\n")
Study more about Python at Python Class 10
Ask the community — students and mentors are here to help, and you can search past answers too.
Ask a Question arrow_forward