Python Card Display
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4170238/poker-hand-string-display">Poker hand string display</a>  </p>
</blockquote>



<p>hi all im having a bit of a hard time figuring this question out . so if i can get any help i would greatly appreciate it. the question is ;</p>

<p>Create functions card_str(c) and hand_str(h) which return a string version of a card and a hand of
cards, respectively. A card is a string of two characters: a rank followed by a suit. A hand is a list of
cards.</p>

<pre><code>&gt;&gt;&gt; print card_str("Kh")
king of hearts
&gt;&gt;&gt; print hand_str([’Kh’, ’As’, ’5d’, ’2c’])
king of hearts, ace of spades, five of diamonds, deuce of clubs
</code></pre>

<p>Thanks for your time and explaining.</p>
