Commit 7cd13023 by BellCodeEditor

auto save

parent 5389fd90
Showing with 5 additions and 6 deletions
import turtle import turtle
pen=turtle.Pen() #pen=turtle.Pen()
pen.write('hi,诺伊\n我用python写电子贺卡,贺卡真的太有趣了\n我也喜欢python\n悟空',font=('Time',20,'normal')) pen1=turtle.Pen()
pen.hideturtle() pen1.circle(50)
turtle.done() turtle.done()
\ No newline at end of file
...@@ -5,7 +5,7 @@ screen.bgcolor("light blue") ...@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("你好\n诺伊.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen.penup()
......
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