iterate to make multiple variables?

2009-04-20 Thread Tairic
Hi, I'm somewhat new to programming and especially to python. Today I was attempting to make a sudoku-solver, and I wanted to put numbers into sets call box1, box2, ... box9, so that I could check new values against the boxes I ended up declaring the boxes like this box1 = set([]) box2 = set([])

Re: Best way to start

2009-04-07 Thread Tairic
I was looking for a language that seemed easier to learn and that was powerful, so I just started learning Python myself. I'm using some online tutorials and The book Python Power! by Matt Telles. Some of the O'Reilley books looked ok (I spent a while in the bookstore deciding), but this one was a