title: Python statement of short 'if-else'
body: <p>Is there a Python version of the following <code>if</code>-<code>else</code> statement in C++ or similar statement like this:</p>
  
  <pre><code>  int t = 0;
    int m = t==0?100:5;
  </code></pre>