generated from mwc/project_drawing
28 lines
429 B
Python
28 lines
429 B
Python
# drawing.py
|
|
# ----------
|
|
# By Seoyeon___________
|
|
#
|
|
# (center of Korean flag with two colors, red and blue)
|
|
|
|
from turtle import *
|
|
r=40
|
|
left(70)
|
|
color("black", "red")
|
|
begin_fill()
|
|
circle(r,180) # half circle
|
|
circle(-r,180) # another half circle
|
|
circle(-r*2,180)
|
|
end_fill()
|
|
|
|
color("black", "blue")
|
|
begin_fill()
|
|
circle(-r*2,180)
|
|
right(180)
|
|
circle(r,180) # half circle
|
|
circle(-r,180) # another half circle
|
|
|
|
end_fill()
|
|
input()
|
|
|
|
|