title: Assert using Python- How do I check if the input is Integer or not?
body: <p>I wrote a function, which gets a number as an input.
  For example:</p>
  
  <pre><code>def return_it_back(n):
      return n
  </code></pre>
  
  <p>I simply need to check if the input is integer or not with <strong>assert</strong>.
  So, I wrote a <strong>test</strong> function:</p>
  
  <pre><code>def test():
      assert return_it_back("k"), "incorrect input"
  test()
  </code></pre>
  
  <p>Python doesn't show "incorrect input". Doesn't the <strong>assert return_it_back("k"), "incorrect input"</strong> need to print the "incorrect input"?</p>