title: "name 'random' is not defined" when using random.randint
body: <p>I am writing a Python script that will print out a random value from a list I have written,</p>
  
  <pre><code>from random import randint
  class_list=[0,1,2,3,4,5,5,6,7,8,9,10,11,12]
  people_called=[]
  randomized_number = random.randint(0,12)
  print "debug number" + str(randomized_number)
  print "The student is" + str(class_list[randomized_number])
  class_list[randomized_number].append(people_called)
  </code></pre>
  
  <p>However when I run this file I get I get</p>
  
  <pre><code>Traceback (most recent call last):
    File "./Code/class list.py", line 4, in &lt;module&gt;
      number = random.randint(0,12)
  NameError: name 'random' is not defined
  </code></pre>