Commit 3358d6a7 by BellCodeEditor

save project

parent c8c8f751
Showing with 3 additions and 1 deletions
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(180,-100) screen=turtle.Screen()
screen.bgcolor("light blue")
pen.write("Hi,诺伊\n 用python写电子贺卡真是太有趣了!",font=("Simhei",18,"normal")) pen.write("Hi,诺伊\n 用python写电子贺卡真是太有趣了!",font=("Simhei",18,"normal"))
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5) pen.pensize(5)
len=screen.textinput("提示","你想要多大的爱心?")
pen.setheading(45) pen.setheading(45)
pen.forward(100) pen.forward(100)
......
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