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97 <= v <= 100: for _ in range([5,3,2,1][v-97]): x,y = remplir(x,y,1,COUL[c]) c = 1 - c i += 1 else: t = taille(img[i:i+2]) i += 2 x,y = remplir(x,y,t,COUL[c]) c = 1-c fill_rect(0,0,320,222,(0,0,0)) aff()