from kandinsky import * import time for i in range(32): a=i b=a+1 c=b+1 c = color(a,b,c) draw_string("set = "+str(c),10,10) set_pixel(5,5,c) c = get_pixel(5,5) draw_string("get = "+str(c),10,30) time.sleep(2)
Create, edit, and import your Python scripts
from kandinsky import * import time for i in range(32): a=i b=a+1 c=b+1 c = color(a,b,c) draw_string("set = "+str(c),10,10) set_pixel(5,5,c) c = get_pixel(5,5) draw_string("get = "+str(c),10,30) time.sleep(2)