Is there any interactive programming language where 1.0 is an integer?
<p>I'm (very) new to all of this programming stuff and I need help with a program I'm making in Python 3. It's designed, at the moment, to find how many numbers between 1 and 10 are divisible by 5. This is my approach:</p>

<pre><code>def five():
    a = 0
    b = 0
    c = 0
    while a &lt;= 9:
        a = a + 1
        b = a / 5
        if type(b) == int and b is not 0:
            c = c + 1
        else:
            pass
    print c
</code></pre>

<p>In this case it's printing "6".</p>

<p>The problem is, well, as you might already know, in Python the number 1.0 is not an integer. The only thing I want is to make Python know all numbers with a 0 after the dot are integers, or find an interactive programming language who does, or find another approach.</p>

<p>Thanks!</p>
