title: Random yes/no generation python
body: <p>I know that if I want to randomly generate a number I do something like this</p>
  
  <pre><code>import random
  run = -1
  for x in range(10):
      rand = random.randint(1, 30)
  </code></pre>
  
  <p>but how can I get a random generation of yes or no instead of numbers?</p>