from math import * from kandinsky import * def fx(x,y,sx,sy,scale,color_out,color_in): fill_rect(x,y,sx,sy,color_out) fill_rect(x+scale,y+scale,sx-scale*2,sy-scale*2,color_in) print("""welcome to polytool, this tool help you for make a parralelogram inside a parralelogram help : diference fig a -> fig b | size of the fig |color outside/inside _|_ | | | - fx(x,y,sx,sy,scale,color_out,color_in) ex : fx(10,10,300,202,10,(0,0,0),(255,255,255))""")