day1/exercise/bishop.py
author Prabhu Ramachandran <prabhu@aero.iitb.ac.in>
Tue, 15 Jun 2010 02:50:08 -0400
branchscipy2010
changeset 400 b9c7ef95d875
parent 64 333092b68926
permissions -rw-r--r--
Adding a rough allocation of sessions and some information on time allocation.

r, c = 5, 4
for i in range(1, 9):
    for j in range(1, 9):
        a = r - i
        b = c - j
        if a and b and a == b or a == -b:
            print i, j