diff --git a/ed rcgf.py b/ed rcgf.py new file mode 100644 index 0000000..02fe249 --- /dev/null +++ b/ed rcgf.py @@ -0,0 +1,20 @@ +import turtle +screen=turtle.Screen() +screen.bgcolor("light bule") +pen=turtle.Pen() +pen.penup() +pen.goto(100,-100) +pen.write("Hi,诺依~n\用python写电子贺卡真的太有趣了~n\我也喜欢python~n\——悟空",font=("Times",20,"normal")) +pen.hideturtle() +pen1=turtle.Pen() +pen1.pencolor("red") +pen1.pensize(5) +len=60 +pen1.left(45) +pen1.forward(2*len) +pen1.circle(len,180) +pen1.right(90) +pen1.circle(len,180) +pen1.forward(2*len) +pen1.hideturtle() +turtle.done() \ No newline at end of file