HW #4

Consider this:

    y = 0
    for x in range(0, 10):
        remainder = y % 2
        if remainder == 0:
            print "y is even"
        else:
            print "y is odd"
        y += 1

This example or a close approximation of it has been encountered before but could be adapted for '3' using the modulo function.