Untitled
unknown
plain_text
2 years ago
622 B
0
Indexable
Never
c = (0, 0, 0) # Noir m = (34, 139, 34) # Vert forêt q = (255, 255, 0) # Jaune t = (255, 140, 0) # Orange foncé y = (255, 20, 147) # Rose foncé r = (177, 140, 254) s = (116, 167, 255) j = (255, 249, 148) rvb = sense.color # obtenir la couleur du capteur c = (rvb.red, rvb.green, rvb.blue) # utiliser image = [ c, c, y, y, y, y, c, c, c, y, y, t, t, y, y, c, y, y, t, q, q, t, y, y, c, y, y, t, t, y, y, c, c, c, y, y, y, y, c, c, m, c, c, m, m, c, c, m, c, m, m, m, m, m, m, c, c, c, c, m, m, c, c, c] sense.set_pixels(image) sleep(3) sense.show_message("Sheyma,Rand",text_colour=m) Rand 13 sheyma 12