<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">
<--> snip<br>
if point(one+two) == "win":<br>
</blockquote>
<br></div></div>
Here you go into the function "point" the first time. Inside the function you are in an infinite while-loop where you only exit if the sum is either 7 ("lose") or equal the given parameter ("win"). Then you compare the return value. In the case of "lose" 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) == "lose":<br>
</blockquote>
<br></div>
Now you go into the function "point" a *second* time, in other words you have to throw another 7 to leave the function with the return value "lose". 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 "point" only once, save the result value and check if it's "win" or "lose".<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>