On 24/04/17 20:02, Alan Gauld via Tutor wrote:

And you could wrap that up as a pair of get/set
functions if you so wished.

def get_sudoku_grid(x,y):
   # code above
   return item

def set_sudoku_grid(x,y,value):
    #code above
    item = value


I should point out that to use my table code for your sudoku you need to
- remove the headings
- change the Labels to Entry widgets
- write get/set methods to access the entry data

Alan G

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to