title: Using if/else statement and exit function in Python
body: <p>The two cases below describe my dilemma. I would like to understand when the code is more stable.</p>
  
  <p><strong>Case A</strong></p>
  
  <pre><code>from sys import argv
  
  a = float( argv[1] )
  b = float( argv[2] )
  
  if a == 0.:
      exit(1)
  else:          
      print b / a
  
  exit( 0 )
  </code></pre>
  
  <p><strong>Case B</strong></p>
  
  <pre><code>from sys import argv
  
  a = float( argv[1] )
  b = float( argv[2] )
  
  if a == 0.:
      exit(1)
  
  print b / a
  
  exit( 0 )
  </code></pre>