Commit aac95224 by BellCodeEditor

auto save

parent 84830510
Showing with 15 additions and 15 deletions
# 利用write()帮助悟空给诺依回信吧~ # # 利用write()帮助悟空给诺依回信吧~
import turtle from turtle import *
screen=turtle.Screen()
screen.bgcolor("light blue") left(45)
len=screen.textinput("100","100") pensize(5)
len=int(len) forward(100)
pen=turtle.Pen() circle(50,180)
pen.write("你好\nSB.",font=("Times",30,"normal")) right(90)
pen.hideturtle() circle(50,180)
len=60 forward(100)
pen.penup() penup()
pen.goto(100,100) goto(30,-100)
pen.pendown() write("你干嘛",font=("times",30,"normal"))
pen.pensize(5) done()
pen.pencolor("red")
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