title: Recursive of a Algorithm that identifies if a matrix has or not multiple
body: <p>I have to create a function that have to return true if a row in that matrix have no multiple ocurrences and false otherwise. This have to be done by loops, then create the same function with recursion. I was able to do the function using loops below but I just could think how it could be done by recursion.</p>
  <pre><code>def IsnonrepeatedRow(A):
    count = 0
    for i in range(len(A)):
      for x in range (i+1, len(A)):
        for j in range(len(A[0])):
          if A[i][j] // A[x][j] == 0:
           count += 1
        if count == len(A[0]):
          return True
        count = 0
  return False
  </code></pre>