Sorry about that, I thought it was clear that n = number randomly chosen. I
was thinking of if the number was a five, it would choose a card with a five
on it. I don't want to have to code stuff that I have to repeat again and
again.
That's what classes, loops and functions are for.
I'm not worrying about card types, I have that figured out separately.
The two games are indeed separate, too much trouble to do them a 1 program
that can play both games.
Maybe I should have shown my code and asked using the code as a visual
reference.
Good idea. How about now?
phone 510 978 4454
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor