def div(n,k):

count=0

for i in range(n):

integer=int(input())

if integer%k==0:

count+=1

print count

i dont see any! what problem are you facing exactly? please elaborate.

1 Like

pls provide the problem statement or the link to the ques…if it is of the Lunch Time that took place today then pls ask in the respective editorial!!!

i now notice that it is INTEST…u need to take the input for n and k in the following manner…

```
n,k=map(int,raw_input().split())
```

as n and k are given as input in the same line then it may give an error if u read then individually like…

```
n=int(input())
k=int(input())
```

as in this the 1st input will take input as “number number”…i.e. a space in between!!!

hope this helps!!!

1 Like