I hereby claim:
- I am anghelmihai on github.
- I am mihaian (https://keybase.io/mihaian) on keybase.
- I have a public key ASD0D5xV7urRr0dSIt5tqP64MVWBshLHqIwjdrVN7D9_zQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def check_sudoku(grid): | |
#check if in a sequence all the numbers except 0 | |
#are unique | |
def is_unique_sequence(seq): | |
values = [value for value in seq if value != 0] | |
originalLength = len(values) | |
values = set(values) | |
if originalLength != len(values): | |
return False | |
return True |