Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for btn in range(GAME_SIZE * GAME_SIZE):
- label = str(btn)
- self.add_button(label, row, row+1, column, column+1)
- print "Num:",str(btn),"row",str(row),"by",str(row+1),"column",str(column),"by",str(column+1)
- if row < GAME_SIZE:
- row += 1
- else:
- column += 1
- row = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement