Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import simple_draw as sd
- sd.resolution = (600, 600)
- # left_bottom = sd.get_point(0, y)
- # right_top = sd.get_point(100, y1)
- # 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(3):
- # sd.rectangle(left_bottom=left_bottom, right_top=right_top, color=sd.COLOR_RED, width=1)
- for y in range(0, 600, 50):
- y1 = y + 50
- for x in range(0, 901, 100):
- x1 = x + 100
- sd.rectangle(left_bottom=sd.get_point(x, y), right_top=sd.get_point(x1, y1), color=sd.COLOR_RED, width=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement