title: Function with branch
body: <p>Define function <code>print_popcorn_time()</code> with parameter <code>bag_ounces</code>. If <code>bag_ounces</code> is less than 3, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print <code>6 * bag_ounces</code> followed by "seconds". End with a newline. Example output for <code>bag_ounces = 7</code>:</p>
  
  <blockquote>
    <p>42 seconds. </p>
  </blockquote>
  
  <p>For this program I'm getting suck on an error:</p>
  
  <blockquote>
  <pre><code>"File "main.py", line 6
  elif bag_ounces = bag_ounces * 6"
                  ^
  </code></pre>
  </blockquote>
  
  <pre><code>def print_popcorn_time(bag_ounces):
      if bag_ounces &lt; 3:
          print("Too small")
      elif bag_ounces &gt; 10:
          print("Tool large")
      elif bag_ounces = bag_ounces * 6
      else:
          print(bag_ounces)
  
  print_popcorn_time(7)
  </code></pre>