enter code here
a=raw_input()
b=a.find(’ ')
t=int(a[0:b])
k=int(a[b+1:len(a)])
s=0
for i in range(t):
n=input()
if n%k==0:
s=s+1
print s
Could someone please tell me what is wrong in this code?
enter code here
a=raw_input()
b=a.find(’ ')
t=int(a[0:b])
k=int(a[b+1:len(a)])
s=0
for i in range(t):
n=input()
if n%k==0:
s=s+1
print s
Could someone please tell me what is wrong in this code?