[Tutor] (no subject)
shellcom3 at juno.com
shellcom3 at juno.com
Thu Sep 10 15:54:55 CEST 2009
I want to display all the cards in a deck of playing cards using two tuples for all the possible suits.
value = ("A","2","3","4","5","6","7","8","9","10","J","Q","K")
suit = ("c","h","s","d")
deck = value[0:1] + suit[0:1]
for item in deck:
print item
This is the display
>>>
A c
____________________________________________________________
Woodhouse Day Spa
Luxury Plano Day Spa with over 70 pampering services
http://thirdpartyoffers.juno.com/TGL2141/c?cp=dsr8LBg9kip6hkIh3gzXYwAAJ1CmHaRKpeX3s0f3JfT8odq8AAUAAAAAAAAAACSXfz4cTkdAnjuWutIFlqhweIymAAAAAA==
More information about the Tutor
mailing list