What's wrong with this code?

def div(n,k):
for i in range(n):
if integer%k==0:
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…


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


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

hope this helps!!!

1 Like