Re: assistance with python coding

2006-09-11 Thread John Purser
On Mon, 2006-09-11 at 11:23 -0500, John Shappell wrote: > I don’t understand what this question is asking; can you clarify for > me and maybe point me in the right direction? > > > > As an exercise, rewrite this line of code without using a sequence > assignment. > > self.cards[i], self.cards

RE: assistance with python coding

2006-09-11 Thread Richard Morello
Title: Message Dear John,   This is a switch.  In other words if you have two variables, a and b, switch the values.  The author of the exercise is trying to point out that without the sequence operation, you must do it the same way as in nearly all other languages.  That is:   tmp = a a =