How to count numbers between l and r divisible by k
<pre><code># Taking inputs
l=input()  
r=input()  
k=input()  

count = 0
# For loop
for i in range(l,r):  
    if(i%k)==0:  
        count+=1
</code></pre>