One Line if in Python Code Style
<p>Looking for something like this:</p>

<pre><code>if exits: sys.exit(msg)
if not result: print(msg)
if result: return msg
</code></pre>

<p>How to Apply Python Code Style?</p>