Commit 9e73add8 by BellCodeEditor

save project

parent f5b3ff13
Showing with 5 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
a=100
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("green") screen.bgcolor("green")
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(a)
pen.circle(50,180) pen.circle(a/2,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(a/2,180)
pen.forward(100) pen.forward(a)
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("你好,\n老娘们儿",font=("Times",50,"normal")) pen.write("你好,\n老娘们儿",font=("Times",50,"normal"))
......
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