Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import simple_draw as sd
  2.  
  3. sd.resolution = (1200, 800)
  4. left_bottom = sd.get_point(50, 50)
  5. right_top = sd.get_point(150, 100)
  6.  
  7. #def recrangle(left_point, right_point, color, width):
  8. # for _ in range(3):
  9. # sd.rectangle(left_bottom=left_bottom, right_top=right_top, color=sd.COLOR_RED, width=1)
  10.  
  11. for _ in range(50, 500, 10):
  12. sd.rectangle(left_bottom=left_bottom, right_top=right_top, color=sd.COLOR_RED, width=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement