Commit a630adcd by BellCodeEditor

save project

parent 895204ef
Showing with 10 additions and 2 deletions
...@@ -2,10 +2,17 @@ ...@@ -2,10 +2,17 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen=turtle("green") screen.bgcolor("green")
penup() penup()
pen.goto(100,100) pen.goto(100,100)
pen.write("蔡徐坤,\n我会鸡你太美了!",font=("Times",35,"normal")) pen.write("蔡徐坤,\n我会鸡你太美了!",font=("Times",35,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
# 改变爱心大小
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment