For this Question: Given an integer array <strong>arr[]</strong> of size <strong>N</strong> and an element <strong>X</strong>. The task is to find and print the indices of the given element if it is present in array if not then print “<strong>Not found</strong>” without quotes. 

<strong>Note</strong>: The elements may be present more than once.The first line of input contains T, denoting the number of test cases. 
The first line of each test case contains N and X, N is the size of array and X is an element. Second line contains elements of array space separated. If not present then print "Not found" without quotes

<strong>Constraints</strong>:
1 <= T <= 100
1 <= N, X <= 10000
1 <= arr[i] <= 100000For each test case in new line you need to print all the positions where you find the X separated by space.
Assume 0-indexingInput:
2
5 6
2 3 6 5 6
4 3
2 4 6 5

Output:
2 4
Not found, I have written this Solution Code: def position(n,arr,x):
    res = []
    cnt = 0
    for i in arr:
        if(i == x):
            res.append(cnt)
        cnt += 1
    return res
, In this Programming Language: Python, Now tell me if this Code is compilable or not?