title: type() function SyntaxError in simple code
body: <p>I'm  trying to do a function that, given a number, tells you the numbers by which that number is divisible by.
  Here's the code:</p>
  <pre><code>input_num=int(input(&quot;Introduce number: &quot;))
  divider=1
  dividers=[]
  
  while divider&lt;=input_num:
      if type(input_num/divider)==int
      dividers.append(divider)
      divider=divider+1
  print(dividers)
  </code></pre>
  <p>The error is in the type line, it says &quot;SyntaxError: invalid syntax&quot;.</p>