title: NameError: name 'random' is not defined
body: <p>Here is my code:</p>
  <pre class="lang-py prettyprint-override"><code>r = random.randint(1,10)
  </code></pre>
  <p>But for some reason it's giving me the error</p>
  <blockquote>
  <p>NameError: name 'random' is not defined</p>
  </blockquote>
  <p>Other info: Mac, Python, 3.4.0 pylauncher</p>