generated from mwc/project_drawing
Compare commits
No commits in common. "d90f4c90c95923433054ff9bd571e54f8a740720" and "0f5d457a98e539ebf621df051cdacbb2d3c12560" have entirely different histories.
d90f4c90c9
...
0f5d457a98
29
drawing.py
29
drawing.py
|
@ -1,32 +1,7 @@
|
||||||
# drawing.py
|
# drawing.py
|
||||||
# ----------
|
# ----------
|
||||||
# By Seoyeon___________
|
# By ____(you)___________
|
||||||
#
|
#
|
||||||
# (basic practice prior to yin-yang shape.)
|
# (Briefly describe what this program does.)
|
||||||
|
|
||||||
from turtle import *
|
from turtle import *
|
||||||
color("black", "red")
|
|
||||||
begin_fill()
|
|
||||||
forward(40)
|
|
||||||
right(90)
|
|
||||||
forward(20)
|
|
||||||
right(90)
|
|
||||||
forward(40)
|
|
||||||
right(90)
|
|
||||||
forward(20)
|
|
||||||
end_fill()
|
|
||||||
|
|
||||||
penup()
|
|
||||||
backward(20)
|
|
||||||
right(180)
|
|
||||||
color("black","blue")
|
|
||||||
begin_fill()
|
|
||||||
forward(20)
|
|
||||||
left(90)
|
|
||||||
forward(40)
|
|
||||||
left(90)
|
|
||||||
forward(20)
|
|
||||||
end_fill()
|
|
||||||
|
|
||||||
input()
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue