Commit 7ae88a03 by BellCodeEditor

save project

parent d7913df5
Showing with 3 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
screen=turtle.screen()
screen.bgcol
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
...@@ -8,7 +10,7 @@ len=int(len) ...@@ -8,7 +10,7 @@ len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal")) pen.write("你好\nSB.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=45
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.pendown() pen.pendown()
......
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