title: Function handling floating point numbers to produce a boolean
body: <p>I've been struggling with the following Boolean problem:</p>
  
  <blockquote>
    <p>Write a function even_int that consumes any type of data, produces True if it is an even integer, and produces False otherwise.</p>
  </blockquote>
  
  <p>I wrote:</p>
  
  <pre><code>def even_int(any):
      return type(any) != type("a") and float(any % 2 == 0.0)
  </code></pre>
  
  <p>Feedback on your program:</p>
  
  <blockquote>
    <p>Make sure your function works when the input is a floating point number.</p>
  </blockquote>
  
  <p>Don't really understand this feedback. I put the float in front so that should be covered. I also tried without the float or the decimal on the 0.</p>