Permalink
Browse files

half way

  • Loading branch information...
1 parent 155ca02 commit c537dbcb9f44163bf796ff0889aa9a2ccf594ec8 @tingleshao committed Apr 14, 2013
Showing with 20 additions and 0 deletions.
  1. +20 −0 problem161to170/problem166.py
View
20 problem161to170/problem166.py
@@ -1 +1,21 @@
# problem 166
+
+def get_new_grid():
+ grid = []
+ for j in range(4):
+ row = []
+ for k in range(4):
+ row.append(0)
+ grid.append(row)
+ return grid
+
+for i in range(37):
+ sum_ = i
+ grid = get_new_grid()
+ for row in grid:
+ for ele in row:
+ for j in range(10):
+ grid[row] = j
+
+
+

0 comments on commit c537dbc

Please sign in to comment.