Commit 541de953 by BellCodeEditor

save project

parent 235c80c4
Showing with 8 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
import random
screen=turtle.Screen()
screen.bgcolor("pink")
len=screen.textinput('姓名框',"你的你的xmshi")
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nsb.",font=("Times",30,"normal")) pen.write("SB\n你好.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=100
len=int(len) len=int(len)
pen.penup()
pen.goto(0,-90)
pen.pendown()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
......
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