<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR>&nbsp;<BR>
<HR id=stopSpelling>
From: rwobben@hotmail.com<BR>To: davea@ieee.org<BR>Subject: RE: [Tutor] question<BR>Date: Tue, 28 Sep 2010 14:22:17 +0000<BR><BR>
<META name=Generator content="Microsoft SafeHTML">
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</STYLE>
<BR>&nbsp;<BR>&gt; Date: Tue, 28 Sep 2010 10:02:27 -0400<BR>&gt; From: davea@ieee.org<BR>&gt; To: rwobben@hotmail.com<BR>&gt; CC: tutor@python.org<BR>&gt; Subject: Re: [Tutor] question<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; On 2:59 PM, Roelof Wobben wrote:<BR>&gt; &gt; Hello,<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Im now studying this page :<BR>&gt; &gt; http://openbookproject.net/thinkcs/python/english2e/ch16.html<BR>&gt; &gt;<BR>&gt; &gt; But I don't get it why aces are now lower then deuces in the cmp function.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; Roelof<BR>&gt; &gt;<BR>&gt; &gt; <BR>&gt; Why would you be surprised that aces are lower than deuces? If aces are <BR>&gt; represented by 1, and deuces by 2, then 1 is less than 2.<BR>&gt; <BR>&gt; Notice that because self.suit is compared first, an ace of spades is <BR>&gt; higher than a deuce of hearts. It's only within the same suit that an <BR>&gt; ace is "less than" a deuce.<BR>&gt; <BR>&gt; DaveA<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR><BR>Hello Dave, <BR>&nbsp;<BR>In some games in the Netherlands Aces can have a value of 11 or 1 .<BR>So if Aces are 11 then Deuces is lesser then Aces.<BR>&nbsp;<BR>Can I say that the position of the list is a representation of the value.<BR>&nbsp;<BR>Roelof<BR>&nbsp;<BR>                                               </body>
</html>