<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&lt;--&gt;  snip<br>
         if point(one+two) == &quot;win&quot;:<br>
</blockquote>
<br></div></div>
Here you go into the function &quot;point&quot; the first time. Inside the function you are in an infinite while-loop where you only exit if the sum is either 7 (&quot;lose&quot;) or equal the given parameter (&quot;win&quot;). Then you compare the return value. In the case of &quot;lose&quot; you continue to the next elif-statement:<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             stake += bet*2<br>
             print winmsg<br>
         elif  point(one+two) == &quot;lose&quot;:<br>
</blockquote>
<br></div>
Now you go into the function &quot;point&quot; a *second* time, in other words you have to throw another 7 to leave the function with the return value &quot;lose&quot;. But just now you will print out the message for loosing the game:<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
             print losemsg<br>
             player = changePlayer(player)<br>
</blockquote>
<br></div>
What you probably want is to go into &quot;point&quot; only once, save the result value and check if it&#39;s &quot;win&quot; or &quot;lose&quot;.<br>
<br>
HTH,<div><div></div><div class="h5"><br>
Andreas<br>

<br></div></div></blockquote><div><br></div><div>Amazing as always. I will act upon all suggestions.</div><div>Thanks again </div></div>