I'm struggling on how to do this.
for i in range (1 ,100): if i % 3 == 2: print i, " mod ", 3, "= 2"
i think i need to understand what this does more.
Firstly what does % mean?
if i is the square route of 3?
i've attempted the question but i think i'm a while off because the example i worked to help me dont seem to be anything like this one.
i came up with:
def int(start,finish): while i in range(1,100): i % 3 == 2; print i, "mod", 3, "=2";
but as you can see i'm really just changing little bits and i suspect i'll be needing to change most of it.
Thanks in advance, and try to keep things simple for me please ^^