title: Positional and optional parameters in functions
body: <p>I am trying to pass both positional and optional parameters to a function.</p>
  
  <p>The below code works in python 3:</p>
  
  <pre><code>def something(*args, cookie=None):            
      for arg in args:
          print(arg)
      print('cookie is ' + cookie)
  
  something('a', 'b', 'c', cookie='oreo')
  </code></pre>
  
  <p>but it gives</p>
  
  <blockquote>
    <p>SyntaxError: invalid syntax</p>
  </blockquote>
  
  <p>when using python 2.</p>
  
  <p>Is something like this possible in python 2?</p>