Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
550 B
1
Indexable
Never
a = (255, 255, 255) # Blanc
c = (0, 0, 0) # Noir
f = (25, 25, 112) # MidnightBlue
m = (34, 139, 34) # Vert forêt
r = (255, 0, 0) # rouge
rvb = sense.color # obtenir la couleur du capteur
c = (rvb.red, rvb.green, rvb.blue)
image = [
m, m, m, m, m, c, c, c,
m, f, m, f, m, m, m, m,
m, m, m, m, m, m, m, m,
m, m, c, a, c, c, c, a,
m, m, c, c, c ,c ,c ,c,
m, m, c, c, c, a, c, c,
m, m, m, m, m, m, m, m,
m, m, m, m, m, m, m, m, ]

sense.set_pixels(image)
sleep(3)
sense.show_message("c est vrai ta rencontre mbappe?", text_colour=r)

josias14 camille15