--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/day1/exercise/bishop.py Thu Oct 08 18:59:47 2009 +0530
@@ -0,0 +1,7 @@
+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