On 8/5/05, Nathan Pinno <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> Is there a quicker method than the following?
>
> import random
> numbers = [0,1,2,3,4,5,6,7,8,9,10,11,12]
> cards =
> ["Ace","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Jack","Queen","King"]
> hand = {
Hi all,
Is there a quicker method than the following?
import randomnumbers = [0,1,2,3,4,5,6,7,8,9,10,11,12]cards =
["Ace","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten","Jack","Queen","King"]hand
= {numbers:cards}
def menu(): print "1. Deal a
hand" print "2. Exit"