title: Is there a way to return literally nothing in python?
body: <p>I'm learning python and I was just wondering if I there was a way to write a code that does something like:</p>
  
  <pre><code>def f(x):
      if x&gt;1:
         return(x)
      else:
          # don't return anything
  </code></pre>
  
  <p>I'm asking about the else part of the code. I need to not return anything if <code>x&lt;=1</code>, returning <code>None</code> isn't acceptable.</p>