diff --git a/diy1.py b/diy1.py index fe38a24..206fc85 100644 --- a/diy1.py +++ b/diy1.py @@ -1,6 +1,17 @@ # 利用write()帮助悟空给诺依回信吧~ import turtle -pen=turtle.Pen -pen.write("可爱",font=("Times",30,"normal")) -pen.hideturtle() -turtle.done \ No newline at end of file +# pen=turtle.Pen() +# pen.write("可爱",font=("Times",30,"normal")) +# pen.hideturtle() +# turtle.done() +pen1=turtle.Pen() +pen1.pensize(12) +pen1.pencolor("red") +pen1.left(45) +pen1.forward(100) +pen1.circle(50,180) +pen1.right(90) +pen1.circle(50,180) +pen1.forward(100) +pen1.hideturtle() +turtle.done() \ No newline at end of file diff --git a/j.py/j.py b/j.py/j.py new file mode 100644 index 0000000..3020104 --- /dev/null +++ b/j.py/j.py @@ -0,0 +1,5 @@ +import turtle +pen=turtle.Pen() +pen.circle(50) +pen.hideturtle +turtle.done() \ No newline at end of file