Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import simple_draw as sd
- sd.resolution = (1200, 800)
- left_bottom = sd.get_point(50, 50)
- right_top = sd.get_point(150, 100)
- #def recrangle(left_point, right_point, color, width):
- # for _ in range(3):
- # sd.rectangle(left_bottom=left_bottom, right_top=right_top, color=sd.COLOR_RED, width=1)
- for _ in range(50, 500, 10):
- 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