this is a simple piece of code which is suppose to read n numbers and suppose to print how many numbers out of these n numbers are divisible by k
n=int(raw_i
PUT TRY AND EXCEPT I DID THIS IN MY CODECHEF CODE AND IT'S WORKS
try: n , k = map(int , input().split()) ans=0 while n > 0: t=int(input()) if(t%k == 0): ans = ans + 1 n = n - 1 print(ans) except: pass