Re: Immediate Help with python program!

2009-12-10 Thread Grant Edwards
On 2009-12-10, Rhodri James wrote: > Ahem. This is a newsgroup/mailing list, not IM. I happen to have seen > this within half an hour of you posting it, but that's just luck. > Expecting an "immediate" response is unrealistic. > > Furthermore, this is comp.lang.python, a group right up ther

Re: Immediate Help with python program!

2009-12-09 Thread Daniel
On Dec 9, 6:50 pm, MRAB wrote: > Daniel wrote: > > i am making a tic-tac-toe game using python. i am pretty new to it, > > but cant seem to figure this one out. > > Here is my code: > > [snip] > You problem is due to your choice of variable names, because '0' looks > too much like 'O'. > > You als

Re: Immediate Help with python program!

2009-12-09 Thread MRAB
Daniel wrote: i am making a tic-tac-toe game using python. i am pretty new to it, but cant seem to figure this one out. Here is my code: [snip] You problem is due to your choice of variable names, because '0' looks too much like 'O'. You also don't define 'ask'. -- http://mail.python.org/mailm

Re: Immediate Help with python program!

2009-12-09 Thread Rhodri James
Ahem. This is a newsgroup/mailing list, not IM. I happen to have seen this within half an hour of you posting it, but that's just luck. Expecting an "immediate" response is unrealistic. Furthermore, this is comp.lang.python, a group right up there in pedantry terms with cam.misc. Wander

Re: Immediate Help with python program!

2009-12-09 Thread Intchanter / Daniel Fackrell
On Dec 9, 5:18 pm, Jon Clements wrote: > Someone's homework assignment is overdue/due very soon? And, I don't > believe for a second this is your code. In fact, just searching for > (the obvious Java based) function names leads me to believe you've > 'butchered' it from Java code (do you not th

Re: Immediate Help with python program!

2009-12-09 Thread Daniel
On Dec 9, 6:18 pm, Jon Clements wrote: > On Dec 9, 11:55 pm, Daniel wrote: > > > > > i am making a tic-tac-toe game using python. i am pretty new to it, > > but cant seem to figure this one out. > > Here is my code: > > > X = "X" > > O = "O" > > empty = " " > > tie = "Tie" > > squares = 9 > > > d

Re: Immediate Help with python program!

2009-12-09 Thread Jon Clements
On Dec 9, 11:55 pm, Daniel wrote: > i am making a tic-tac-toe game using python. i am pretty new to it, > but cant seem to figure this one out. > Here is my code: > > X = "X" > O = "O" > empty = " " > tie = "Tie" > squares = 9 > > def display(): >     print """Welcome to Tic-Tac-Toe. Player will p

Immediate Help with python program!

2009-12-09 Thread Daniel
i am making a tic-tac-toe game using python. i am pretty new to it, but cant seem to figure this one out. Here is my code: X = "X" O = "O" empty = " " tie = "Tie" squares = 9 def display(): print """Welcome to Tic-Tac-Toe. Player will play against the computer. \nYou will move by