title: Infinite Loop Error in Python
body: <p>I have this short code here. But it is not printing in wing ide 4.1 using python because it is an infinite loop. Any ideas of what I could add or how to fix it so it prints?   </p>
  
  <pre><code>import random
  coins = 1000
  wager = 2000
  while ((coins&gt;0) and (wager!= 0)):
  x = random.randint(0,10)
  y = random.randint(0,10)
  z = random.randint(0,10)
  print x,
  print y,
  print z
  </code></pre>