title: Python: 'break' outside loop
body: <p>in the following python code:</p>
  
  <pre><code>narg=len(sys.argv)
  print "@length arg= ", narg
  if narg == 1:
          print "@Usage: input_filename nelements nintervals"
          break
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>SyntaxError: 'break' outside loop
  </code></pre>
  
  <p>Why?</p>