title: How to use for loop to print cards?
body: <p>I have all 52 cards set up, and i try to print all 52 cards by using <code>for loop</code>.
  I don't know how to set my <code>for loop</code> at this point.</p>
  
  <pre><code>def define_cards(n):
      rank_string = ("ace","two","three","four","five","six","seven","eight","nine","ten","jack","queen","king")
      suit_string = ("clubs","diamonds","hearts","spades")
      cards = []
      for suit in range(4):
          for rank in range(13):
              card_string = rank_string[rank] + " of " + suit_string[suit]
              cards.append(card_string)
  
  print "The cards are:"
  for i in range(52):              #how to make this for loop work??
      print i, card_string[i]
  </code></pre>
  
  <p>I want to print like this</p>
  
  <pre><code>The crads are:
  0 ace of clubs
  1 two of clubs
  2 three of clubs
  ...
  49 jack of spades
  50 queen of spades
  51 king of spades
  </code></pre>