title: Problem with Functions in Boolean Code for Python
body: <pre><code>def main():
  
      print(status)
  
  def is_even(number):
      number = 100
  
      if (number % 2) == 0:
          status = True
      else:
          status = False
          
      return status
  
  def is_negative(number):
  
      if (number &lt; 0):
          status = True
      else:
          status = False
  
      return status
  
  def is_too_big(number):
  
      if (number &gt; 100):
          status = True
      else:
          status = False
  
      return status
  
  main()
  </code></pre>
  <p>Hi! I am having a problem with my boolean code. Every time I try to run this, I keep getting the error:</p>
  <p>*NameError: name 'status' is not defined*</p>
  How do I define this? I am struggling with functions also, despite them being easy to most people.