Commit 462bfca1 by BellCodeEditor

auto save

parent 81c3a9e4
Showing with 44 additions and 4 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
a=screen.textinput("输入","写下你的新年寄语")
pen.write(a,font=("Times",20,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
text="周末一起去欢乐谷玩吧!"
list(text)
print(te)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.pencolor("blue")
pen.pensize(5)
pen.circle(50)
pen.penup()
pen.forward(100)
pen.pendown()
pen.pencolor("black")
pen.pensize(5)
pen.circle(50)
pen.penup()
pen.forward(100)
pen.pendown()
pen.pencolor("red")
pen.pensize(5)
pen.circle(50)
pen.penup()
pen.left(90)
pen.pendown()
pen.pencolor("green")
pen.pensize(5)
pen.circle(50)
pen.penup()
pen.left(90)
pen.forward(100)
pen.right(90)
pen.pendown()
pen.pencolor("yellow")
pen.pensize(5)
pen.circle(50)
turtle.done()
\ No newline at end of file
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