def check_sudoku(valuelist):
    length=len(valuelist[0])
    flag=True
    columnlist=[]
    for a in range(0,length):
        for c in valuelist[a]:
            if(valuelist[a].count(c)>1):
                return "Incorrect"
                break
        for b in range(0,length):
            columnlist.append(valuelist[b][a])
        for c in columnlist:
            if(columnlist.count(c)>1):
                return "Incorrect"
                break
        columnlist=[]
    return "Correct"

correct = [[1,2,3],
           [2,3,1],
           [3,1,2]]

incorrect = [[1,2,3,4],
             [2,3,1,3],
             [3,1,2,3],
             [4,4,4,4]]

incorrect2 = [[1,2,3,4],
             [2,3,1,4],
             [4,1,2,3],
             [3,4,1,2]]

incorrect3 = [[1,2,3,4,5],
              [2,3,1,5,6],
              [4,5,2,1,3],
              [3,4,5,2,1],
              [5,6,4,3,2]]

incorrect4 = [['a','b','c'],
              ['b','c','a'],
              ['c','a','b']]

incorrect5 = [ [1, 1.5],
               [1.5, 1]]
               
# Define a function check_sudoku() here:




    
    
#print(check_sudoku(incorrect))
#>>> False

#print(check_sudoku(correct))
#>>> True

#print(check_sudoku(incorrect2))
#>>> False

#print(check_sudoku(incorrect3))
#>>> False

#print(check_sudoku(incorrect4))
#>>> False

#print(check_sudoku(incorrect5))
#>>> False
