diff --git a/diy1.py b/diy1.py new file mode 100644 index 0000000..54eedd2 --- /dev/null +++ b/diy1.py @@ -0,0 +1,20 @@ + +import turtle +pen=turtle.Pen() +pen.penup() +pen.goto(-50,-150) +pen.write("诺依,\n你比悟空学的早\n真牛",font=("Times",30,"normal")) +pen.hideturtle() +#画爱心 +screen=turtle.Screen() +screen.bgcolor("pink") +pen1=turtle.Pen() +pen1.pensize(10) +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +turtle.done() \ No newline at end of file