def suivante(i,j): if j == 8: i += 1 j = 0 else: j += 1 return i,j