title: When to use int() and when to use var: int
body: <p>I'm wondering, when do you use <code>var: int</code> and when do you use <code>int(var)</code>.</p>
  <p>For example:</p>
  <pre class="lang-py prettyprint-override"><code>def func(var: int, var2):
      print(var - int(var2))
  </code></pre>