Commit a89da6c7 by BellCodeEditor

auto save

parent c66a449e
Showing with 18 additions and 22 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write(
import turtle from turtle import *
screen=turtle.Screen() #write("坤坤,你SB吧",font=("宋体",100))
screen.bgcolor("light blue") #done()
len=screen.textinput("100","100") pensize(5)
len=int(len) pencolor("red")
pen=turtle.Pen() left(45)
pen.write("你好\nSB.",font=("Times",30,"normal")) forward(100)
pen.hideturtle() circle(50,180)
len=60 right(90)
pen.penup() circle(50,180)
pen.goto(100,100) forward(100)
pen.pendown() up()
pen.pensize(5) goto(0,-100)
pen.pencolor("red")
pen.left(45) write("握草你马",font=("宋体",100))
pen.forward(2*len) done()
pen.circle(len,180) \ No newline at end of file
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
turtle.done()
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