title: my python code comes up with errors if I define the variable people and if i don't define the variable people
body: <pre><code>import random
  people=0
  def intake (testage):
      if testage &lt;= 18:
          print(&quot;Person accepted!&quot;)
          people=people+1
      else:
          print(&quot;Person Denied!&quot;)
  while people &lt;= 150:
      age=random.randint(0,81)
      intake(age)
  print(&quot;At capacity!&quot;)
  </code></pre>
  <p>on line 2 the variable people comes up with errors if I define it or if I don't define it</p>