```
for i in range(2, 101):
    for j in range(2, i):
        if (i % j) == 0:
            print(i,"is a composite number")
            break

```

I tried making the `if (i%j) != 0:` but then it wouldn't work (4 is not a prime number)